Change Rstudio default home directory

Hello,

I am testing Rstudio server with OOD in the secure environment which doesn’t have shared /home on the compute nodes. I changed HOME using environment setting and also set “–server-working-dir=”
However, it tried to connect /home/user when I clicked “Connected to Rstudio Server” button and failed to connect to the server.

I guess I need to change the default home setting in rstudio server. I would appreciate if anyone can help with this issue.

Hi, sorry for the delay.

A quick google search seems to indicate there’s a user level configuration for what directory to open to when not in a project.

Seems like you can write/update this configuration in your script before you boot rstudio up. I’m sure there’s a topic around here somewhere on that but I don’t have it off hand.