1、R语言的简介

R语言(r-project)是主要用于统计分析、绘图的语言和操作环境。

2、配置yum源

2.1、安装说明

由于编译安装相对繁琐,故而安装使用repoforge的源解决,免去编译的麻烦。

2.2、安装rpmforge源

yuminstallhttp://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相关包

yumsearchr-project

显示如下:

Loadedplugins:rhnplugin,securityThissystemisnotregisteredwithRHN.RHNsupportwillbedisabled.==============================Matched:r-project==============================R.x86_64:LanguagefordataanalysisandgraphicsR-devel.x86_64:Headerfiles,librariesanddevelopmentdocumentationforR.libRmath.x86_64:standalonemathlibraryfromtheRprojectlibRmath-devel.x86_64:standalonemathlibraryfromtheRproject

3.2、安装相关包

yum-yinstallRR-devellibRmathlibRmath-devel

--------------------------------------------

参阅资料:

https://www.r-project.org/

https://cran.r-project.org/src/base/R-3/

安装方法:

https://www.rstudio.com/products/shiny/download-server/