Update R.sh

This commit is contained in:
spiritLHLS 2023-04-01 18:51:37 +08:00 committed by GitHub
parent 6aafaebfeb
commit b18e5676af
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

1
R.sh
View File

@ -69,7 +69,6 @@ checkR(){
source activate jupyter-env source activate jupyter-env
if ! Rscript -e "IRkernel::installspec()" &>/dev/null; then if ! Rscript -e "IRkernel::installspec()" &>/dev/null; then
then
reading "IRkernel is not installed on this system. Do you want to install it? (y/n) " confirminstall reading "IRkernel is not installed on this system. Do you want to install it? (y/n) " confirminstall
echo "" echo ""
if [ "$confirminstall" != "y" ]; then if [ "$confirminstall" != "y" ]; then