Using sparsevar package
Introduction | Installation | Quick start | Description of the package's functions | Estimation of a VAR or VECM models | Global options | Options for penalty = "ENET" | Options for penalty = "SCAD" or "MCP" | Output | Simulation of VAR models | Estimation of Impulse Response function | Examples | Estimations' examples | IRF example | Simulations' examples