The R language is mainly used for statistical analysis, drawing of the language and operating environment.
Official website:
http://www.r-project.org/
There is a direct installation package under Windows, it is convenient to download the installation directly, but it is not possible to install R directly from Yum on the CentOS6.0, you need to compile it yourself.
Download page:
http://ftp.ctex.org/mirrors/CRAN/
Before compiling R, you need to install the following programs through Yum:
#yum install Gcc-gfortran #否则报 "configure:error:No F77 compiler found" error
#yum Install gcc gcc-c++ #否则报 "configure:error:c++ preprocessor"/lib/cpp "Fails sanity check" error
#yum install Readline-devel #否则报 "–with-readline=yes (default) and Headers/libs is not available" error
#yum install Libxt-devel #否则报 "Configure:error:–with-x=yes (default) and X11 Headers/libs is not availab Le "error
Then download the source code, compile
#cd
#wget http://ftp.ctex.org/mirrors/CRAN/src/base/R-2/R-2.13.1.tar.gz
#tar ZXVF r-2.13.1.tar.gz
#cd R-2.13.1
#./configure
#make
#make Install
To complete the compilation installation.
R installed under CentOS