{
"terminal.integrated.env.linux": {
"R_HOME": "/root/miniconda3/envs/r_py_env/lib/R"
},
"r.rpath.linux": "/root/miniconda3/envs/r_py_env/bin/R",
"r.rterm.linux": "/root/miniconda3/envs/r_py_env/bin/radian",
"r.rterm.option": [
"--no-save",
"--no-restore",
"--r-binary=/root/miniconda3/envs/r_py_env/bin/R"
],
"r.bracketedPaste": true,
"r.plot.useHttpgd": true,
"r.alwaysUseActiveTerminal": true,
"r.sessionWatcher": true
}
Run Selection: Ctrl+Enter
2026年7月5日
Creating an Miniconda Environment to Work with VSCode and R in WSL
1. Install the following VSCode extensions:
- Remote Development
- WSL
- R extension
2. Create a miniconda virtual environment and install packages mentioned in the VSCode R extensions.
3. Configure settings.json (user settings) with following contents:
訂閱:
文章 (Atom)