path setting does not work on windows
See original GitHub issueNOTE: Before submitting an issue, please make sure to install the latest version of both the vscode extension and the R package. This can usually be achieved by running the command r.debugger.updateRPackage in vscode’s command palette (F1).
Describe the bug
on windows we need the extra & sign in front of the executable path in order to launch R, which is handled properly by the R extension bu not by r-debugger extension.
Previously there’s the separate rdebugger.rpath setting which could be set to & "z:\path\to\R.exe" to overcome this issue, but from some version on this setting is deprecated.
To Reproduce Steps to reproduce the behavior:
- set rpath to
z:\path\to\R.exe - launch anything from this extension (could be “install or update packages” or launch an r debugging task)
- See error
Issue Analytics
- State:
- Created 3 years ago
- Comments:5 (3 by maintainers)
Top Results From Across the Web
Windows 10 System environment variables don't stick
no, I mean System.cpl -> Advanced System Settings -> Environment Variables, and in the bottom pane, scroll down to Path , double click...
Read more >11 Ways to Fix "The System Cannot Find The Path Specified ...
11 Ways to Fix "The System Cannot Find The Path Specified" Error on Windows · 1. Run Command Prompt as an Administrator ·...
Read more >How do I set or change the PATH system variable? - Java
Windows 10 and Windows 8 · In Search, search for and then select: System (Control Panel) · Click the Advanced system settings link....
Read more >How to set the path and environment variables in Windows
On the desktop, right-click the Computer icon and select Properties. · Click the Advanced System Settings link in the left column. · In...
Read more >New PATH editor interface not working for user Path.
The problem is, the new path editor shows corectly for System's Path vaiable. But NOT for User's Path. The dialog is for the...
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

Sorry, I forgot to make update to this thread. It’s okay to close it, I eventually resolved it by unsetting rpath in vscode and setting environment variable prior to launching vscode
@xinstein Any updates on this issue? If not I’d close this as stale, since we could work out @gwd999 's problems in a separate issue.