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

rig rstudio for RStudio Server #245

Open
asadow opened this issue Sep 4, 2024 · 6 comments
Open

rig rstudio for RStudio Server #245

asadow opened this issue Sep 4, 2024 · 6 comments

Comments

@asadow
Copy link

asadow commented Sep 4, 2024

Is it possible to get rig rstudio to work for Rstudio Server? It seemed to "run" but not do anything.

@gaborcsardi
Copy link
Member

I am not sure how rig could help you with Rstudio Server.

@kkrick-sdsu
Copy link

I was also looking to see if rig supported RStudio Server. This would be immensely helpful for managing multiple versions of R.

@gaborcsardi
Copy link
Member

Sure, you can use rig to install multiple R versions on an RStudio Server machine.

But a single Rstudio Server cannot run multiple R versions at the same time, AFAICT, and I am not sure what rig can do about that.

@kkrick-sdsu
Copy link

Could rig be used to swap out that one version that RStudio Server is running though? I have been playing around with that approach but have not gotten it to work.

@gaborcsardi
Copy link
Member

Yes, I think if you leave Rstudio Server settings on the default (i.e. use R from the PATH), and you do

rig default...

that should change the default. It is possible that you need to restart RStudio server, and you might need to even stop it before you change the default, and then start it again after.

But I haven't actually tried this.

@asadow
Copy link
Author

asadow commented Sep 11, 2024

I had to restart to apply changes.

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

No branches or pull requests

3 participants