R 主页 http://www.r-project.org/
添加软件源 :
1 | sudo gedit /etc/apt/sources.list |
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(也可以不安装), 流行的 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,直接从官网 (http://www.rstudio.org/)下载,安装即可。