欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

R 语言在ubuntu下的安装 博客分类: R Rinstall 

程序员文章站 2024-03-19 09:54:40
...

ubuntu 版本:11.04

将如下的 软件源 
deb http://ftp.ctex.org/mirrors/CRAN/bin/linux/ubuntu maverick/
 /etc/apt/sources.list 中 
命令如下:
sudo gedit  /etc/apt/sources.list
## This software is not part of Ubuntu, but is offered by third-party
## developers who want to ship their latest software.
deb http://extras.ubuntu.com/ubuntu natty main
deb-src http://extras.ubuntu.com/ubuntu natty main
deb http://archive.canonical.com/Ubuntu maverick partner
deb-src http://archive.canonical.com/Ubuntu maverick partner
deb http://ftp.ctex.org/mirrors/CRAN/bin/linux/ubuntu maverick/
更新软件源:
sudo apt-get update
r-base-dev
安装软件 sudo apt-get install r-base r-base-dev
安装完以后输入  R 就可以进入R的命令端
接下来还需要安装 R 的 GUI(也可以不安装)
网络中有7中 R 的 GUI 软件
Graphical user interfaces for R
RStudio Integrated development environment (IDE) for R
Rattle Gnome cross platform GUI for Data Mining using R
Red-R Open source visual programming interface for R
Deducer Intuitive, cross-platform graphical data analysis system
RKWard Easy to use, transparent frontend
JGR Universal and unified graphical user interface for R
R Commander Basic-Statistics GUI for R
这个笔者使用的是RStudio。其他没有用过。
RStudio直接从官网 (http://www.rstudio.org/)下载后,直接安装即可。
相关标签: R install