Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Positron doesn't automatically pick up a scoop-installed R #30

Open
mpaulacaldas opened this issue Aug 27, 2024 · 1 comment
Open

Positron doesn't automatically pick up a scoop-installed R #30

mpaulacaldas opened this issue Aug 27, 2024 · 1 comment

Comments

@mpaulacaldas
Copy link

I suspect this may be because scoop doesn't automatically add R to the system registry, or to the PATH like rig. Unfortunately, those of us on work computers without admin permissions can't use rig to install R, even with scoop.

Would it possible to have the bucket add every R installation to the user registry? Adding scoop\apps\r-release\current\ and scoop\apps\r-daily\current\ to the PATH works, but I switching versions needs to happen via Scoop which feels a bit clunky.

@cderv
Copy link
Owner

cderv commented Aug 27, 2024

Thanks for the feedback. That is a good question. I did not yet play with interaction between different Scoop app.

My view on this:

  • Either try to add the R installation from Scoop somewhere that is a known location for other tools
  • Either tweak the Positron manifest so that if r-release or r-daily is detected (or any scoop which r maybe ?), then configure the Positron scoop install to use it.

I guess for now you have to manually configure Positron to use the R installation ?

I am suprised though, because Scoop is supposed to add to PATH the tool installed, so I would think any app checking PATH would find it.

But maybe executable file for scoop-installed R has a different name ?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants