Compare commits

..

No commits in common. "7244d265fa3e2bedf2dc70773643df6232834c7a" and "77ba3dac5aa2c466c89ef0f3a1e8ab24f3aa0585" have entirely different histories.

View File

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