So I have the following variables set in my Renviron
file
R_ENVIRON_USER="~/.config/R/Renviron"
R_PROFILE_USER="~/.config/R/Rprofile"
R_MAKEVARS_USER="~/.config/R/Makevars"
R_HISTFILE="~/.local/share/Rhistory"
R_LIBS_USER="~/Library/R/3.6/library"
PKG_CONFIG_PATH="/opt/X11/lib/pkgconfig:/usr/local/Cellar/cairo/1.16.0_2/lib/pkgconfig"
But I haven't been able to find an env variable to just change the directory of ~/.R
. Now whenever I start R, I end up with a new ~/.R
folder in my home directory. Is there a way to just change the default R user directory?