R Tutorials for VS Code
Browse and run R package tutorials (learnr) directly from the VS Code sidebar.
Features
- Activity Bar icon for quick access to all installed R tutorials
- Lists tutorials from all installed R packages that use learnr
- Click to run any tutorial directly
- Automatically detects missing dependencies and offers to install them
- Refresh button to update the tutorial list after installing new packages
Requirements
- R installed and available in PATH
- The learnr R package
Usage
- Click the R Tutorials icon in the Activity Bar
- Browse the list of available tutorials
- Use ⌥⌘F (Mac) or Ctrl+Alt+F (Windows/Linux) to filter
- Click any tutorial to run it
Installation
This extension is not yet published to the VS Code Marketplace. To install from source:
git clone https://github.com/PPBDS/vscode-r-tutorials.git
cd vscode-r-tutorials
npm install
npm run compile
Then open the folder in VS Code and press F5 to test.
| |