R語言
阿新 • • 發佈:2020-07-30
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