Compare commits

..

2 Commits

View File

@ -54,7 +54,7 @@ case "$1" in
enable_venv "$2"
mkdir -pv "$R_LIBS_SITE"
if command -v Rscript >> /dev/null; then
Rscript -e 'install.packages("IRkernel",repos="http://cran.r-project.org");library(IRkernel);IRkernel::installspec()'
Rscript -e "install.packages('IRkernel','$R_LIBS_SITE','http://cran.r-project.org');library(IRkernel);IRkernel::installspec()"
else
echo "R isn't installed"
exit 1
@ -79,7 +79,7 @@ case "$1" in
l|-l|launch|--launch)
enable_venv "$2"
if command -v jupyter >> /dev/null; then
exec jupyter lab --ip 0.0.0.0 --ServerApp.iopub_data_rate_limit 1e16
exec jupyter lab --ip 0.0.0.0
else
echo "Jupyter lab isn't installed"
exit 1