There is another 5.5 under the installation of http://blog.livedoor.jp/extension/archives/50249503.html, but I did not succeed (~. ~
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:
[plain] view plain copy yum install Gcc-gfortran
Otherwise reported "Configure:error:No F77 compiler found" error
[plain] view plain copy yum install gcc gcc-c++
Otherwise reported "configure:error:c++ preprocessor"/lib/cpp "Fails sanity check" error
[plain] view plain copy yum install Readline-devel
Otherwise "–with-readline=yes (default) and Headers/libs is not available" error
[plain] view plain copy yum install Libxt-devel
Otherwise "Configure:error:–with-x=yes (default) and X11 Headers/libs is not available" error
Then download the source code, compile to complete the compilation installation.
[plain] view plain copy cd wget http://ftp.ctex.org/mirrors/CRAN/src/base/R-2/R-2.13.1.tar.gz tar zxvf R-2.1 3.1.tar.gz CD R-2.13.1./configure make do Install
After the installation is complete, the path is:/USR/LOCAL/BIN/R,
You can do this by typing R on the command line, but/usr/bin is generally introduced in the script.
General experience, build two soft links in/usr/bin
[plain] view plain copy su root cd/usr/bin ln-s/usr/local/bin/r R ln-s/usr/local/bin/rscript rscript
installation package for Arules analysis Package : http://cran.r-project.org/web/packages/arules/index.html (arules_1.0-10.tar.gz)
Installation: http://www.chinakdd.com/article-125749.html (R CMD install arules_1.0-10.tar.gz) installation of other packages should also be an operation
Tinker for a day, too much trouble, hereby remark, convenient for oneself, convenient for others