How current directory R version detection works in positron? #9380
-
In my system I use rig to be able to use multiple versions, but sometimes I need to specify which version I currently want to use in each project. What I currently do is this direnv hack r-lib/rig#171 (comment) So. My question is how current directory R version detection works in poistron? Is .rigrc file support in positron something that makes sense? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
We have some documentation of how Positron discovers and chooses R versions at: I think if you want to specify exactly what version to look for in a specific folder/workspace, I would go with one of these settings, set at the workspace level: We are tracking something more like "pinning" a version in an R project in #2659, but do be aware that once you start a certain version of R in a certain workspace, that version is then affiliated with that workspace and will always start there in the future: |
Beta Was this translation helpful? Give feedback.
We have some documentation of how Positron discovers and chooses R versions at:
https://positron.posit.co/r-installations.html
I think if you want to specify exactly what version to look for in a specific folder/workspace, I would go with one of these settings, set at the workspace level:
https://positron.posit.co/r-installations.html#customizing-r-discovery
We are tracking something more like "pinning" a version in an R project in #2659, but do be aware that once you start a certain version of R in a certain workspace, that version is then affiliated with that workspace and will always start there in the future:
https://positron.posit.co/interpreter-startup.html#subsequent-runs