标签:r-language r语言 r-project 安装
1、R语言的简介
R语言(r-project)是主要用于统计分析、绘图的语言和操作环境。
2、配置yum源
2.1、安装说明
由于编译安装相对繁琐,故而安装使用repoforge的源解决,免去编译的麻烦。
2.2、安装rpmforge源
yum http://pkgs.repoforge.org/rpmforge-release/rpmforge-release-0.5.3-1.el5.rf.x86_64.rpm
注意:请根据实际的系统OS版本选取合适的YUM源。
2.3、rpmforge源的下载
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://cran.r-project.org/src/base/R-3/
本文出自 “老谭linux集群博客” 博客,请务必保留此出处http://cmdschool.blog.51cto.com/2420395/1754648
标签:r-language r语言 r-project 安装
原文地址:http://cmdschool.blog.51cto.com/2420395/1754648