Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Package installation each new RStudio session #1

Open
mos790 opened this issue Feb 2, 2022 · 1 comment
Open

Package installation each new RStudio session #1

mos790 opened this issue Feb 2, 2022 · 1 comment
Labels
question Further information is requested

Comments

@mos790
Copy link

mos790 commented Feb 2, 2022

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

@LEDfan LEDfan added the question Further information is requested label Feb 7, 2022
@LEDfan
Copy link
Member

LEDfan commented Feb 7, 2022

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/

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
question Further information is requested
Projects
None yet
Development

No branches or pull requests

2 participants