When execute the command R:Create R terminal this don't work, the terminal goes blank, is the same for any other command.
My version:
C:\Users\xxxxx>r
R version 3.3.2 (2016-10-31) -- "Sincere Pumpkin Patch"
Copyright (C) 2016 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit) ...
@edarague Thank you for your issue!
Did you set r.rterm.windows to your R.exe path?
Maybe you should set C:\\Program Files\\R\\R-3.3.2\\bin\\x64\\R.exe.
Thank you very much, my error was that the version I have installed is different from the one that was in the vs code configurations, so I created a parameter appropriate to my version number in the user settings. In my case v3.3.2
Where do we set r.rterm.windows?
From VS Code settings?
Or as a system variable?
or how?
@skanskan It's VS Code settings.
F1 key.Preferences: open user settings or Ctrl + ,r.rterm.windowsThank you.
Finally that method didn't work for me.
Manually editing the file setting.json on the disk.
I'm not sure, could you restart VS Code?
@Ikuyadeu thanks for your R Extension for VSCode, eventhough you won't maintain it anymore!
I setted the actual R.exe path for windows via configuring "r.rterm.windows" in the "settings.json" file in the user VSCode settings to {"r.rterm.windows": "C:\Program Files\R\R-3.5.1\bin\x64\R.exe"}, but when trying to run a R code in an opened folder i still get the error message "command 'r.runSelection' not found"!
Does your R-Extension support R up to a specific Version?
Thanks for any help!
I am having similar issue to @gregkvas. I have built both, VSCode and R, from sources.
My R is located under /usr/local/src/R/R-3.5.1/bin. Additionally, I have symlinks to R and Rscript in /usr/local/src/R which is added to $PATH. Moreover, I tried solving this as described in #78, however that didn't help.
I have tried manually setting the Rterm: Linux and Rpath: Lsp to both of the paths I mentioned earlier and that did not help as well. I am still getting the "command ... not found".
@tmakowski:
Setting the Rterm-path in VSCode preferences and simply updating VSCode to its newest version (reloading when done) worked for me to solve the issue âcommand...not foundâ...
Installing LSP as described in #78 wasânt needed for me to solve the issue, but brought me a great Language Server with âhovering-overâ documentation-windows...
R 3.5.2 and newest VS Code, I still have the problem, and I have set the actual path

@ohmlovesampere check whether the path is correct in settings
You'll need to open the folder that has R source file.
https://marketplace.visualstudio.com/items?itemName=Ikuyadeu.r
Been awhile but I wanted to provide some help on how I did this, have had error that says "win32 cannot run in windows" and my path was empty or couldn't be found. so here's the steps.
> R.home()> file.path(R.home("bin"), "R")Next Steps:
That was very helpful
Most helpful comment
@skanskan It's VS Code settings.
F1key.Preferences: open user settingsorCtrl+,r.rterm.windowsThank you for using!