Windows XP Windows 7 Windows 2003 Windows Vista Windows教程綜合 Linux 系統教程
Windows 10 Windows 8 Windows 2008 Windows NT Windows Server 電腦軟件教程
 Windows教程網 >> Linux系統教程 >> 關於Linux >> Ubuntu10.10配置R環境的方法

Ubuntu10.10配置R環境的方法

日期:2017/1/25 10:31:38      編輯:關於Linux

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

Ubuntu10.10配置R環境的方法

  方法如下:

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

  deb http://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

  管理和維護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 上一頁123下一頁共3頁

Copyright © Windows教程網 All Rights Reserved