I'm running RStudio Server Open Source (version 2021.09.0+351, Ghost Orchid) on a Linux server (Ubuntu, 18.04. 6 LTS, Bionic Beaver). I have 2 accounts on the server, both of which have sudo
privileges. I'm trying to update the default R library path on one of the accounts (using the "Tools/Install libraries..." dialog; see here), but when I open the dialog in RStudio, I cannot specify a different library path. To address this, I'm trying to run RStudio Server as an admin remotely on my server. How do I do this?
I could not find a solution to this in the RStudio Server documentation. This page recommends specifying the r-libs-user
field in the /etc/rstudio/rsession.conf
file; however, even after doing this and restarting rstudio-server, the default library path for the user in question remains unchanged.
Thanks for any help.