-
Notifications
You must be signed in to change notification settings - Fork 138
Closed
Labels
Description
System: Windows 10.
VSCode: Version 1.5.8.
vscode-R: v 2.0.0 release.
This is my current settings. I create a R terminal by R: Create R terminal and everything works fine.
"r.rterm.windows": "D:\\Miniconda3\\Scripts\\radian.exe",
"r.bracketedPaste": true,
"r.rterm.option": [
"--r-binary=D:\\Program Files\\R\\R-3.6.3\\bin\\x64\\R.exe"
],
"r.sessionWatcher": true,
"r.alwaysUseActiveTerminal": true,
"r.rpath.windows": "D:\\Program Files\\R\\R-3.6.3\\bin\\x64\\R.exe"But this settings cannot work on another PC, on which R is installed in C:\Program Files\R\R-3.6.3 and radian is installed in C:\Miniconda3\Scripts.
So in the settings I try to substitute "D:" with Environment Variable "SystemDrive" using Variables Reference, see below:
"r.rterm.windows": "${env:SystemDrive}\\Miniconda3\\Scripts\\radian.exe",
"r.bracketedPaste": true,
"r.rterm.option": [
"--r-binary=${env:SystemDrive}\\Program Files\\R\\R-3.6.3\\bin\\x64\\R.exe"
],
"r.sessionWatcher": true,
"r.alwaysUseActiveTerminal": true,
"r.rpath.windows": "${env:SystemDrive}\\Program Files\\R\\R-3.6.3\\bin\\x64\\R.exe"But it doesn't work. When I try R: Create R terminal , error happens:
Cannot find R client at ${env:SystemDrive}\Miniconda3\Scripts\radian.exe. Please check r.rterm setting.
Can r.rterm.* support Variables Reference and how can I do?
Thanks!