Compare commits
No commits in common. "7244d265fa3e2bedf2dc70773643df6232834c7a" and "77ba3dac5aa2c466c89ef0f3a1e8ab24f3aa0585" have entirely different histories.
7244d265fa
...
77ba3dac5a
@ -54,12 +54,7 @@ case "$1" in
|
||||
k|-k|kernel|--kernel)
|
||||
enable_venv "$2"
|
||||
mkdir -p "$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()'
|
||||
else
|
||||
echo "R isn't installed"
|
||||
exit 1
|
||||
fi
|
||||
Rscript -e 'install.packages("IRkernel",repos="http://cran.us.r-project.org");library(IRkernel);IRkernel::installspec()'
|
||||
;;
|
||||
|
||||
c|-c|check|--check)
|
||||
@ -80,7 +75,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 --ServerApp.iopub_data_rate_limit 1e16
|
||||
else
|
||||
echo "Jupyter lab isn't installed"
|
||||
exit 1
|
||||
|
Loading…
x
Reference in New Issue
Block a user