question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

path setting does not work on windows

See original GitHub issue

NOTE: 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:

  1. set rpath to z:\path\to\R.exe
  2. launch anything from this extension (could be “install or update packages” or launch an r debugging task)
  3. See error

Issue Analytics

  • State:closed
  • Created 3 years ago
  • Comments:5 (3 by maintainers)

github_iconTop GitHub Comments

1reaction
xinsteincommented, Mar 16, 2021

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

0reactions
ManuelHentschelcommented, Mar 15, 2021

@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.

Read more comments on GitHub >

github_iconTop 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 >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found