Update R.sh

This commit is contained in:
spiritLHLS 2023-04-01 18:21:29 +08:00 committed by GitHub
parent 12e56833e1
commit c0d7c5c68c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

6
R.sh
View File

@ -4,7 +4,7 @@
#version: 2023.04.01 #version: 2023.04.01
ver="2022.04.01" ver="2022.04.01"
changeLog="一键安装R环境(执行前需已安装jupyter notebook)" changeLog="一键安装R环境"
source ~/.bashrc source ~/.bashrc
red(){ echo -e "\033[31m\033[01m$1$2\033[0m"; } red(){ echo -e "\033[31m\033[01m$1$2\033[0m"; }
green(){ echo -e "\033[32m\033[01m$1$2\033[0m"; } green(){ echo -e "\033[32m\033[01m$1$2\033[0m"; }
@ -39,7 +39,7 @@ echo "验证已支持的系统:"
echo "Ubuntu 18/20/22 - 推荐,脚本自动挂起到后台" echo "Ubuntu 18/20/22 - 推荐,脚本自动挂起到后台"
echo "Debian 9/10/11 - 还行,需要手动挂起到后台,详看脚本运行安装完毕的后续提示" echo "Debian 9/10/11 - 还行,需要手动挂起到后台,详看脚本运行安装完毕的后续提示"
echo "可能支持的系统centos 7+FedoraAlmalinux 8.5+" echo "可能支持的系统centos 7+FedoraAlmalinux 8.5+"
yellow "执行脚本前务必要安装好jupyter再安装安装jupyter环境详见对应仓库目录" yellow "如若已经安装jupyter环境则安装完毕后需要重启jupyter加载内核安装jupyter环境详见对应仓库目录"
yellow "如果是初次安装无脑回车即可,按照提示进行操作即可" yellow "如果是初次安装无脑回车即可,按照提示进行操作即可"
checkupdate(){ checkupdate(){
@ -83,4 +83,4 @@ checkR(){
checkroot checkroot
checkupdate checkupdate
checkR checkR
green "已安装完毕请重启jupyter加载内核" green "R语言已安装完毕"