Positron doesn't automatically pick up a scoop-installed R
mpaulacaldas opened this issue · 1 comments
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.
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
orr-daily
is detected (or anyscoop 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 ?