r pixi venv
A VS Code extension to use Pixi-managed virtual environments on R and Quarto. There is support for Pixi-managed R on RStudio/Positron but this is for those who would rather stay in VS Code. I’m not sure about Quarto, though.
Features
- Automatic environment configuration: The extension modifies your VS Code workspace settings to point R and Quarto language services to the binaries inside your
.pixi/envs/defaultdirectory. This assumes you have either apixi.tomlorpyproject.tomlfile. - Manual Setup Command: You can manually trigger the configuration via the command palette:
Setup R and Quarto from Pixi. - Install Dependencies: The
Install R and Quarto to Pixicommand allows you to addr-base,r-languageserver, andquartoto your environment and run the setup.
Once activated, settings are automatically injected into your .vscode/settings.json to configure:
r.rpath.*: Points to Pixi R executabler.rterm.*: Points to Pixi R terminalquarto.path: Points to Pixi Quarto executable