Hi rstub,
Thanks for the reply. I followed the instruction in the document, set XDG_DATA_HOME in /etc/rstudio/env-vars (the file was not even existent before I created this time) as follows:
[root@ ~]# cat /etc/rstudio/env-vars
# Store user data on mounted external storage
XDG_DATA_HOME=/data/$USER
[root@ ~]#
And restarted rstudio. However, the session directory is still in ~/.local/share/rstudio/, not moved the new location set in env-vars. I wonder if I miss anything ?
P.S. we use community version RStudio 1.4.1101 on Redhat 7.
[root@ ~]# rstudio-server version
1.4.1106 (Tiger Daylily) for CentOS 7
[root@ ~]#
I appreciate your reply