Skip to content

Commit 6c2db9c

Browse files
authored
use site-library for R packages
1 parent d20e968 commit 6c2db9c

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

scripts/install-r-packages.sh

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -17,8 +17,8 @@ fi
1717
# Main script execution as NB_USER
1818
echo "Running install-r-packages.sh as ${NB_USER}"
1919

20-
# Make sure we install to the System library
21-
echo '.libPaths(.Library)' > /tmp/rprofile.site
20+
# Make sure we install to the site-library
21+
echo ".libPaths('${R_HOME}/site-library')" > /tmp/rprofile.site
2222
export R_PROFILE=/tmp/rprofile.site
2323

2424
# Set the file variable to the provided argument

0 commit comments

Comments
 (0)