mirror of
https://github.com/vale981/emacs-ipython-notebook
synced 2025-03-04 16:51:38 -05:00
move the mkdir downwards
This commit is contained in:
parent
12e2520361
commit
fec13b62dd
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,6 @@
|
|||
set -x
|
||||
|
||||
WORKDIR=${HOME}/local
|
||||
mkdir -p ${WORKDIR}/R
|
||||
UNAME=$(uname -s)
|
||||
cd $WORKDIR
|
||||
if [ "x$UNAME" = "xLinux" ] ; then
|
||||
|
@ -20,6 +19,7 @@ if [ "x$UNAME" = "xLinux" ] ; then
|
|||
elif [ "x$UNAME" = "xDarwin" ]; then
|
||||
brew list r &>/dev/null || HOMEBREW_NO_AUTO_UPDATE=1 brew install r
|
||||
fi
|
||||
mkdir -p ${WORKDIR}/R
|
||||
echo ".libPaths( c( '${WORKDIR}/R' , .libPaths() ) )" > ${HOME}/.Rprofile
|
||||
R -e "install.packages('IRkernel', repos='http://cran.mirrors.hoobly.com', lib='${WORKDIR}/R')"
|
||||
R -e "IRkernel::installspec()"
|
||||
|
|
Loading…
Add table
Reference in a new issue