We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent beec8e4 commit fdced76Copy full SHA for fdced76
1 file changed
scripts/install-r-packages.sh
@@ -27,8 +27,8 @@ fi
27
# Make sure we install to the site-library
28
#echo ".libPaths('${R_HOME}/site-library')" > /tmp/rprofile.site
29
#export R_PROFILE=/tmp/rprofile.site
30
-export R_LIBS_SITE="${R_HOME}/site-library"
31
-export R_LIBS_USER=""
+# the ${R_HOME}/etc/R.profile has .libPaths(c(Sys.getenv("R_LIBS_USER"), .libPaths())), so we set R_LIBS_USER temporarily
+export R_LIBS_USER="${R_HOME}/site-library"
32
33
# Set the file variable to the provided argument
34
INSTALL_FILE="$1"
0 commit comments