1) Install R language to your RHEL6 x86_64 platform
1@@@@ download R language from the website
   http://mirrors.ustc.edu.cn/CRAN/
   http://www.r-project.org/

[root@station78 R语言]# ll
total 32116
-rw-r--r--. 1 root root     1055 May 23 17:57 CAPABILITIES
-rw-r--r--. 1 root root   104394 May 23 17:56 libRmath-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root   151494 May 23 17:56 libRmath-devel-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root     4091 May 23 17:56 md5sums
-rw-r--r--. 1 root root    14688 May 23 17:54 R-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root 32495231 May 23 17:57 R-core-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root    88663 May 23 17:54 R-devel-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root      262 May 23 17:56 ReadMe
drwxr-xr-x. 2 root root     4096 May 23 18:03 repodata

[root@station78 R语言]# ll *.rpm
-rw-r--r--. 1 root root   104394 May 23 17:56 libRmath-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root   151494 May 23 17:56 libRmath-devel-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root    14688 May 23 17:54 R-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root 32495231 May 23 17:57 R-core-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root    88663 May 23 17:54 R-devel-2.10.0-2.el5.x86_64.rpm

2@@@@ install
This is a shell script for install, note the R-core-[version]
need force install without dependency.

#!/bin/sh
   #preinstall for R lanaguage here
   #yum -y install tetex.*
   yum -y install "*late*"
   yum -y install tcl*
   yum -y install pcre*
   yum -y install tk*
   rpm -ivh  libRmath-2.10.0-2.el5.x86_64.rpm
   rpm -ivh  libRmath-devel-2.10.0-2.el5.x86_64.rpm
   rpm -ivh --force --nodeps  R-core-2.10.0-2.el5.x86_64.rpm
   rpm -ivh  R-2.10.0-2.el5.x86_64.rpm
   rpm -ivh  R-devel-2.10.0-2.el5.x86_64.rpm

3@@@@ after installation, you could login by the command R , like below
[root@station78 ~]# R

R version 2.10.0 (2009-10-26)
Copyright (C) 2009 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

>

2) Install R language to RHEL5 x86_64
1@@@@ download R language from the website

http://mirrors.ustc.edu.cn/CRAN/
   http://www.r-project.org/

Note: Here is the same to RHEL6, generally, RHEL5 and RHEL6 use the same version
       rpm packages for installing R language here.

[root@station78 R语言]# ll
total 32116
-rw-r--r--. 1 root root     1055 May 23 17:57 CAPABILITIES
-rw-r--r--. 1 root root   104394 May 23 17:56 libRmath-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root   151494 May 23 17:56 libRmath-devel-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root     4091 May 23 17:56 md5sums
-rw-r--r--. 1 root root    14688 May 23 17:54 R-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root 32495231 May 23 17:57 R-core-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root    88663 May 23 17:54 R-devel-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root      262 May 23 17:56 ReadMe
drwxr-xr-x. 2 root root     4096 May 23 18:03 repodata

[root@station78 R语言]# ll *.rpm
-rw-r--r--. 1 root root   104394 May 23 17:56 libRmath-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root   151494 May 23 17:56 libRmath-devel-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root    14688 May 23 17:54 R-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root 32495231 May 23 17:57 R-core-2.10.0-2.el5.x86_64.rpm
-rw-r--r--. 1 root root    88663 May 23 17:54 R-devel-2.10.0-2.el5.x86_64.rpm

2@@@@ install
This is a shell script for install, note the R-core-[version]
need force install without dependency. Here the package tetex in RHEL5
is equal to "*late*" in RHEL6

#!/bin/sh
   #preinstall for R lanaguage here
   yum -y install tetex.*
   #yum -y install "*late*"
   yum -y install tcl*
   yum -y install pcre*
   yum -y install tk*
   rpm -ivh  libRmath-2.10.0-2.el5.x86_64.rpm
   rpm -ivh  libRmath-devel-2.10.0-2.el5.x86_64.rpm
   rpm -ivh --force --nodeps  R-core-2.10.0-2.el5.x86_64.rpm
   rpm -ivh  R-2.10.0-2.el5.x86_64.rpm
   rpm -ivh  R-devel-2.10.0-2.el5.x86_64.rpm

3@@@@ after installation like below
[root@station252 R]# R

R version 2.10.0 (2009-10-26)
Copyright (C) 2009 The R Foundation for Statistical Computing
ISBN 3-900051-07-0

R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

Natural language support but running in an English locale

R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

>

转载于:https://blog.51cto.com/majesty/1209658

Install R language on Linux RHEL5 or RHEL6相关推荐

  1. Using R Language to Plot Diagrams

    Preface Maybe these methods are quite useful when dealing with the "assignment for Statistics&q ...

  2. adb install -r ,-d 等的解释

    adb install -r 替换已存在的应用程序,也就是说强制安装 adb install -l 锁定该应用程序 adb install -t 允许测试包 adb install -s 把应用程序安 ...

  3. pip freeze requirements.txt 分隔 sudo pip install -r requirements.txt

    要在新项目中安装,命令如下: sudo pip install -r requirements.txt 导出安装的组件版本: requirements.txt的内容: adium-theme-ubun ...

  4. pip install -r requirement.txt 后 提示No such file or directory: ‘requirements.txt‘

    错误原因:应该进项目里以后在编程软件终端键入pip install -r requirement.txt的,结果我是直接cmd,直接cmd是在当前c盘,当然没有这个txt文件.

  5. windows的\r\n与Linux的\n

    为了去除平台差异,需要将数据直接在Linux下保存,不在windows中进行转换,于是对\r\n和\n.\r有了新的认识,由于这部分数据保存的代码是其他两个同事约定好了格式的,windows保存的tx ...

  6. python安装request失败_在python 虚拟环境下使用命令pip install -r request 安装软件失败?...

    各位好: 我使用下列命令建立和进入虚拟环境: (1)virtualenv homepage (2). homepage/bin/activate && cd homepage 然后,我 ...

  7. adb install -r -d的含义

    adb install -r 替换已存在的应用程序,也就是说强制安装 adb install -l 锁定该应用程序 adb install -t 允许测试包 adb install -s 把应用程序安 ...

  8. 在虚拟环境下使用pip install -r requirements.txt导入项目依赖包却没有安装上出现的问题

    在进入项目虚拟环境下后,使用pip install -r requirements.txt进行导包,如图所示 但是,在虚拟环境下 执行 pip list 却没有看到安装的包,如图: 本以为安装出错了么 ...

  9. ERROR: Cannot install -r requirements.txt (line 2) and tensorflow>=1.14.0 because these package vers

    pip安装时出现问题 pip install --force-reinstall -r requirements.txt ERROR: Cannot install -r requirements.t ...

  10. pip install -r requirements.txt

    前言 从gitlab上面获取代码后,执行pip install -r requirments.txt报错 错误信息如下: ERROR: Command errored out with exit st ...

最新文章

  1. 4412 GPIO读 和 ioremap控制GPIO寄存器
  2. 使用钩子函数[3] - 建立一个全局的鼠标钩子
  3. Ubuntu10.04各文件夹的作用
  4. css hot loader,解决安装react-hot-loader后修改css/less文件不会热更新问题
  5. 使用 Docker 让传统 .NET 应用程序现代化
  6. Synchronization 进程锁
  7. java 函数签名,Java签名getAlgorithm()方法
  8. 三星Galaxy Note 10+真机照公布:居中开孔前摄实锤
  9. html表单转换文档代码,把HTML表单提交的数据转化成XML文件 (转)
  10. 换种思维看互联网公司分配时间!
  11. 【PS平面设计教程】6种最常用抠图技巧,十万人都抢着收藏
  12. 单片机C51继电器控制C语言,单片机控制继电器,51单片机控制继电器详细说明
  13. oracle 脚本定时,Oracle定时任务备份脚本
  14. 数据时代的大数据思维特征,主要有哪些?
  15. python编程语言创始人-涨姿势!10位编程语言创始人,你都知道是谁吗?
  16. C++ 编写一个解释器
  17. 红帽RHCE考试下午-RHCE (RH294)任务概览[2021最新版]
  18. MATLAB语音端点检测
  19. walking机器人入门教程-硬件清单
  20. Sonya and Exhibition 【模拟】

热门文章

  1. paip.连接access2003数据库python3.3以及php5对比
  2. paip.手机时间设置不能修改灰色禁用 解决大法
  3. 和10位CIO,聊了聊他们今年的OKR
  4. 阿里云祝顺民:云网络的十年“修路”历程
  5. 机器学习笔记(三):NumPy、Matplotlib、kNN算法 | 凌云时刻
  6. 【优化算法】混沌博弈优化算法(CGO)【含Matlab源码 1803期】
  7. 【路径规划】基于matlab HybridA_Star算法机器人路径规划【含Matlab源码 1390期】
  8. 【数字信号调制】基于matlab二进制数字相位调制(2PSK)【含Matlab源码 1000期】
  9. 【电路仿真】基于matlab GUI Simulink钟摆自由控制【含Matlab源码 991期】
  10. 【扩频通信】基于matlab GUI扩频通信系统仿真【含Matlab源码 772期】