RStudio data home


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 file, but unfortunately it didn’t work.


Yes looking at the RStudio documentation setting XDG_DATA_HOME should work. Be sure to set it in the 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 file did the trick. Thank you so much!

This topic was automatically closed 180 days after the last reply. New replies are no longer allowed.