Is there a way to get positron to recognize Rprofile.site? I use this to manage a group of users in Rstudio but haven’t gotten it to work in positron. Thanks.
Can you say more about how you are using Rprofile.site
with Positron? My understanding is that applies to a whole server such as Workbench or RStudio Server and Positron is currently only available as a desktop app.
We are running Rstudio server. I wrote a custom R environment for my lab group similar to renv but with some important differences. As part of this, I use Rprofile.site for many things: set repos, create and set lib paths, write log files to a specific location, check that users are working in projects, etc.
This gets sourced before user/project .Rprofile files whenever R starts via Rstudio, Rstudio server, or the command line. Anyways Positron seems to skip the Rprofile.site.
looks like positron starts R with
ark --interactive --no-restore-data --no-site-file --no-init-file
which is probably why the site file is ignored. Interestingly it does read the Renviron.site file.