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.

debugger says "Please install the R package vscDebugger" even though it is already installed.

See original GitHub issue

my launch setting:

        {
            "name": "R: Current File",
            "debugMode": "file",
            "type": "R-Debugger",
            "request": "launch",
            "workingDirectory": "${fileDirname}",
        }

my rdebugger setting: “rdebugger.rterm.windows”: “"Z:\Program Files\R\R-3.5.3\bin\R.exe"”

Issue Analytics

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

github_iconTop GitHub Comments

1reaction
xinsteincommented, Sep 10, 2020

Thank you very much, both approaches work! I’ve gone with the install-from-source solution since reinstalling all my required R packages is a bit tiresome.

0reactions
ManuelHentschelcommented, Sep 10, 2020

Thanks for the info!

It seems like your R version (3.5.3) causes problems. I am personally using 4.0.2, and the package seems to work fine with 3.6.1, but not with a fresh installation of R 3.5.3.

If you have the possibility to do so, I recommend upgrading R to the latest version (or at least 3.6.X) and trying again.

If you are bound to R 3.5.3 you could try installing the package from code (using devtools::install and Rtools).

Please let me know if either of these options work for you 😃

Read more comments on GitHub >

github_iconTop Results From Across the Web

Unable to debbug R code on VSC running on Windows
So, now if the vscDebugger does not show up and you get an error ... Ctrl + Shift + P R Debugger: Update...
Read more >
R Debugger - Visual Studio Marketplace
R Debugger. This extension adds debugging capabilities for the R programming language to Visual Studio Code and depends on the R package vscDebugger...
Read more >
No support for R version 4.0.2 · Issue #110 - GitHub
When I install vscDebugger package, it shows package 'vscDebugger' is not available (for R version 4.0.2). Would you please figure it out?
Read more >
Support for Visual Studio Code Debugger • vscDebugger
vscDebugger. This package provides support for the VS Code extension R Debugger. Installation. The package can be installed from the Releases site.
Read more >
Problem running R in VS Code under Windows 10 - Reddit
It seems like the vscDebugger package must be installed. I've been trying to install it ... I use R with vs code on...
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