vscode-R
vscode-R copied to clipboard
R extension warnings: system cannot find the path specified and Failed to get list of R functions
Describe the bug R extension of vs code reports two warning notifications every time that my cursor moves over a R code ,that say:
- The system cannot find the path specified.
2.Failed to get list of R functions. Make sure that
jsonlite
is installed and r.rpath.windows points to a valid R executable.
I can still run R code, but those warnings are annoying and I don't know if something is wrong that I'm not noticing. I already have the jsonlite
package installed in R and R path set on the vs code settings.
To Reproduce Steps to reproduce the behavior:
- Open or write any R script
- Move the cursor over any function of the code.
- See error
Can you fix this issue by yourself? (We appreciate the help)
No
(If applicable) Please attach setting.json
{
"workbench.colorTheme": "Visual Studio Dark",
"[python]": {
"editor.formatOnType": true
},
"files.associations": {
"*.rmd": "markdown"
},
"r.bracketedPaste": true,
"r.rterm.windows": "C:\\Users\\Dell\\AppData\\Local\\Programs\\Python\\Python311\\Scripts\\radian.exe",
"r.rpath.windows": "C:\\R\\R-4.2.2\\bin\\x64\\R.exe"
}
Expected behavior I excpected to be able to work with R in vs code
Screenshots
If applicable, add screenshots to help explain your problem.
Environment (please complete the following information):
- OS: Windows (64 bits)
- VSCode Version: 1.75.1
- R Version: 4.2.2
- vscode-R version: 2.7.1
Additional context Please, help. I will aprecciate it
try to set r.rpath.windows in the extensions in vscode, make sure it point to the R execute
Indeed it is pointed to the right path: r.rpath.windows": "C:\R\R-4.2.2\bin\x64\R.exe but still doesn't work
This issue is stale because it has been open for 365 days with no activity.