1、R語言的簡介
R語言(r-project)是主要用於統計分析、繪圖的語言和操作環境。
2、配置yum源
2.1、安裝說明
由於編譯安裝相對繁瑣,故而安裝使用repoforge的源解決,免去編譯的麻煩。
2.2、安裝rpmforge源
yum install http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
注意:請根據實際的系統OS版本選取合適的YUM源。
2.3、rpmforge源的下載
http://repoforge.org/use/
3、R-Project的安裝
3.1、查詢r-project相關包
yum search r-project
顯示如下:
Loaded plugins: rhnplugin, security
This system is not registered with RHN.
RHN support will be disabled.
============================== Matched: r-project ==============================
R.x86_64 : Language for data analysis and graphics
R-devel.x86_64 : Header files, libraries and development documentation for R.
libRmath.x86_64 : standalone math library from the R project
libRmath-devel.x86_64 : standalone math library from the R project
3.2、安裝相關包
yum -y install R R-devel libRmath libRmath-devel
--------------------------------------------
參閱資料:
https://www.r-project.org/
https://cran.r-project.org/src/base/R-3/
本文永久更新鏈接地址:
http://xxxxxx/Linuxjc/1145185.html TechArticle