Skip to content
Permalink
Browse files

Updating installation of R packages

  • Loading branch information...
tjakobi committed Nov 18, 2019
1 parent 8c008f2 commit 94acdf547ad640332a493e0fd2ff1657b7784b5a
Showing with 5 additions and 6 deletions.
  1. +5 −6 scripts/install_create_r_environ.sh
@@ -19,10 +19,9 @@

USER_DIR=~/.R/

if [ ! -f ~/.Renviron ]; then
echo "R_LIBS_USER=~/.R/" >> ~/.Renviron
if [[ -z "${R_LIBS_USER}" ]]; then
echo "R_LIBS_USER=$USER_DIR" >> ~/.Renviron
if [ ! -d "$USER_DIR" ]; then
mkdir $USER_DIR
fi
fi

if [ ! -d "$USER_DIR" ]; then
mkdir ~/.R/
fi

0 comments on commit 94acdf5

Please sign in to comment.
You can’t perform that action at this time.