shinyproxy-rstudio-ide-demo
shinyproxy-rstudio-ide-demo copied to clipboard
Package installation each new RStudio session
Hi,
Firstly, thanks a lot for your awesome job.
I followed your tutorial to install and use RStudio server with shinyproxy. I noticed I have to re-install the packages every new session, is it possible to avoid this ?
Mos Thanks
Hi
Yes this is the case. Every time you start an application, ShinyProxy creates a new container. No files are persisted. You can solve this by mounting a volume into the container (see the conatiner-volumes option at https://shinyproxy.io/documentation/configuration/). Next you have to create and use a R library in this volume. See for example: https://www.r-bloggers.com/2020/10/customizing-your-package-library-location/