Dear all,
We have Positron 2025.12.2 build 5, on Posit Workbench 2026.01.0+392.pro5, “Apple Blossom”. We have 2 system-defined R environments with R 4.3.2 and R 4.4.3 versions on it.
For both R versions the default libraries are setup correctly and point to the correct paths (e.g. user library for each R version , opt/R/R4.x.y/... accordingly).
However, we also have additional admin-controlled libraries, and for R 4.4.3 the R 4.3.2 paths are specified incorrectly when running libPaths() instead of the R 4.4.3 ones.
The same R environments exist in RStudioPro, within the same Posit Workbench instance, and there the .libPaths() are defined correctly per R environment. Actually these environments pre-existed with the previous posit Workbench and RStudioPro versions. Positron is newly included now.
Do you know where we can check how the .libPaths() for Positron are setup?
Not sure if this link already contains the info: Discovering R Installations – Positron
Thank you,
Georgios
Positron doesn't have any special functionality for .libPaths(); it's largely up to R itself, so standard R startup/environment variables can be used. Can you say more about how you have specified the admin-controlled libraries in RStudio Pro / Posit Workbench? We can point you to how to mirror that config in Positron.
Also, as you're a Posit Workbench customer, you have access to our top-notch support team! I'd encourage you to reach out to them for a faster response: support@posit.co
Hi Jonathan,
Thank you very much for your feedback. Our system admin is looking into it. I gave him your feedback and they might reach out directly to posit support team. If I am not mistaken for the RStudio libPaths() setup Workbench/RStudio functionality is used. But I might be wrong. I am more from the enduser side. As we are all new to Positron I thought to search/ask here for any hints.
Thank you,
Georgios
Hi Jonathan,
FYI for RStudio the RStudio config file (conf/rstudio/r-versions) is used as suggested below:
Using Multiple Versions of R Concurrently
Thank you,
Georgios
Thanks, that's helpful! If you're able, I think the best approach would be to just update to the latest version of Positron. To make it easier to share config between Positron and RStudio, we recently added support for the r-versions file to Positron. A 2026.04 or newer release should have this feature (see here for details: Discover and use R environments from RStudio's `r-versions` file · Issue #11426 · posit-dev/positron · GitHub)
1 Like