系統(tǒng)之家 - 系統(tǒng)光盤下載網(wǎng)站!

當(dāng)前位置:系統(tǒng)之家 > 系統(tǒng)教程 > Ubuntu10.10配置R環(huán)境

Ubuntu10.10配置R環(huán)境的方法

時間:2015-05-18 15:31:00 作者:shuqing 來源:系統(tǒng)之家 1. 掃描二維碼隨時看資訊 2. 請使用手機(jī)瀏覽器訪問: https://m.xitongzhijia.net/xtjc/20150518/48622.html 手機(jī)查看 評論

  在Ubuntu10.10系統(tǒng)中,有的用戶因工作需要得進(jìn)行配置R環(huán)境,但還不清楚該如何配置。在這,小編就分享給大家配置R環(huán)境的方法。

Ubuntu10.10配置R環(huán)境的方法

  方法如下:

  向 /etc/apt/sources.list 中加入:

  deb https://ftp.ctex.org/mirrors/CRAN/bin/linux/Ubuntu maverick/

  Secure apt

  The Ubuntu archives on CRAN are signed with the key of "Michael Rutter " with key ID E084DAB9. You can fetch this key with

  gpg --keyserver keyserver.ubuntu.com --recv-key E084DAB9

  and then feed it to apt-key with

  gpg -a --export E084DAB9 | sudo apt-key add -

  安裝完整的R system, 使用

  sudo apt-get update

  sudo apt-get install r-base

  管理和維護(hù)R包

  The R packages part of the Ubuntu r-base and r-recommended packages are installed into the directory /usr/lib/R/library.

  The other r-cran-* packages shipped with Ubuntu are installed into the directory /usr/lib/R/site-library.

  These can be updated using apt-get with

  sudo apt-get update

  sudo apt-get upgrade

標(biāo)簽 R環(huán)境

發(fā)表評論

0

沒有更多評論了

評論就這些咯,讓大家也知道你的獨(dú)特見解

立即評論

以上留言僅代表用戶個人觀點(diǎn),不代表系統(tǒng)之家立場

其他版本軟件

熱門教程

人氣教程排行

Linux系統(tǒng)推薦

官方交流群 軟件收錄