RStudio data home

Hi!

Is it possible to change the default directory for my RStudio data home from ~/.local/share/rstudio to another location? I attempted to add XDG_DATA_HOME and RSTUDIO_DATA_HOME to the script.sh.erb file, but unfortunately it didn’t work.

Thanks!
Nícolas

Yes looking at the RStudio documentation setting XDG_DATA_HOME should work. Be sure to set it in the rsession.sh wrapper too because I believe that’s the script that’ll actually start a given user session.

Hi Jeff, thank you for your prompt response! Setting it in the rsession.sh file did the trick. Thank you so much!