打赏

R语言

1.R语言

(1.)安装包下载

vi /etc/apt/source.list
deb https://mirrors.tuna.tsinghua.edu.cn/CRAN/bin/linux/ubuntu xenial/

apt-get update
sudo apt install r-base

https://www.cnblogs.com/mo-wang/p/4849044.html
https://cran.r-project.org/mirrors.html

(2.)安装Rstudio
下载安装包: https://www.rstudio.com/products/rstudio/download/ // 貌似网络比较差,忽略!

# 安装rstudio-server
wget https://download1.rstudio.org/rstudio-1.0.136-amd64.deb
 
sudo apt-get install gdebi-core
 
sudo apt-get install libapparmor1
 
sudo gdebi rstudio-1.0.136-amd64.deb


which rstudio
rstudio  #打开RStudio

(3.)安装RStudio Server

sudo apt-get install gdebi-core
 
wget https://download2.rstudio.org/rstudio-server-1.0.136-amd64.deb
 
sudo gdebi rstudio-server-1.0.136-amd64.deb

rstudio-server start

(4.)问题记录,找不到libssl.so文件

find / -name libssl.so
拷贝文件到/usr/lib目录

vim /etc/ld.so.conf      //在新的一行中加入库文件所在目录
/usr/lib  
ldconfig  

(5.)设置镜像源
https://www.cnblogs.com/songbiao/p/12490831.html

相关链接

https://www.cnblogs.com/taoyuyeit/p/11266409.html
https://www.cnblogs.com/djx571/p/9372011.html
https://blog.csdn.net/fontthrone/article/details/80413685

posted @ 2020-07-30 10:11  苍山落暮  阅读(122)  评论(0编辑  收藏  举报