r.term.windows will not populate with R.exe file path in settings, will not run R terminal in VS Code
See original GitHub issueDescribe the bug r.term.windows will not populate with R.exe file path in settings, will not run R terminal in VS Code.
To Reproduce Steps to reproduce the behavior:
- Go to R Extension
- Click on Settings
- Scroll down to r.term.windows and enter file path
- In the feature contributions tab in the extension, r.term.windows is blank as well as the JSON variable. But, it is populated in the setting tab.
Do you want to fix by self? (I hope your help!) Yes
(If yes,) what kind of help do you want? (e.g. Which file should I fix, Survey (related documents)
(If related)setting.json “r.rterm.windows”:
// R.exe path for windows
"r.rterm.windows": "", # Here's the issue!
// R path for Mac OS X
"r.rterm.mac": "/usr/local/bin/R",
// R path for Linux
"r.rterm.linux": "/usr/bin/R",
// R command line options (i.e: --vanilla)
"r.rterm.option": [],
// An optional encoding to pass to R when executing the file, i.e. 'source(FILE, encoding=ENCODING)'
"r.source.encoding": "UTF-8",
// Keeping focus when running
"r.source.focus": "editor",
// Use active terminal for all commands, rather than creating a new R terminal
"r.alwaysUseActiveTerminal": false,
// Use bracketed paste mode
"r.bracketedPaste": false,
// Enable R session watcher (experimental)
"r.sessionWatcher": false,
// Delay in milliseconds before sending each line to rterm (only applies if r.bracketedPaste is false)
"r.rtermSendDelay": 8,
Expected behavior R extension will execute R.exe path in extension settings.
Screenshots
If applicable, add screenshots to help explain your problem.
You can show the keybord contents by pressing F1 and Developer: toggle screencast mode
Environment (please complete the following information):
- OS: Windows 10
- VSCode Version: 1.46.1
- R Version: 3.6.1
- vscode-R version: 1.4.2
Additional context Add any other context about the problem here.
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
r.term.windows will not populate with R.exe file path in settings ...
Describe the bug r.term.windows will not populate with R.exe file path in settings, will not run R terminal in VS Code.
Read more >Setting Up Visual Studio code to work with R - "win32 can't ...
Locate your R.exe location. Mine is at C:\Program Files\R\R-3.6.2\bin\x64\R.exe; Open VSC, once loaded, press Ctrl + , to open your settings ...
Read more >R in Visual Studio Code
If you want to run an entire R file, open the file in the editor, and press Ctrl+Shift+S and the file will be...
Read more >How to run R in Visual Studio Code - InfoWorld
Write and run R code in Visual Studio Code. The vscode-R extension instructions suggests that users open a folder when working in R,...
Read more >Setup Visual Studio Code to run R on VSCode 2021
In this R Programming Tutorial, You'll how to set up / use / run R Code on VSCode (Visual Studio Code). VSCode -...
Read more >
Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free
Top Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found

Hi, I apologize about my late reply, I was able to get the PATH variable added in my environment and it seems to be working well in VS Code now, thank you
@joeamoroso did you manage to get it to work or do you require additional assitance?