网站:
Windows下面有直接的安装包,直接下载安装很方便,但是对于刚出的CentOS6.0上不能直接通过yum 安装R,需要自己编译。
下载页面:
在编译R之前,需要通过yum安装以下几个程序:
#yum install gcc-gfortran #否则报”configure: error: No F77 compiler found”错误
#yum install gcc gcc-c++ #否则报”configure: error: C++ preprocessor “/lib/cpp” fails sanity check”错误
#yum install readline-devel #否则报”?with-readline=yes (default) and headers/libs are not available”错误
#yum install libXt-devel #否则报”configure: error: ?with-x=yes (default) and X11 headers/libs are not available”错误
然后下载源代码,编译
#cd
#wget
#tar zxvf
#cd R-2.13.1
#./configure
#make
#make install
即可完成编译安装。