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
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
Note: Here is the same to RHEL6, generally, RHEL5 and RHEL6 use the same version
rpm packages for installing R language here.
need force install without dependency. Here the package tetex in RHEL5
is equal to "*late*" in RHEL6
yum -y install tetex.*
#yum -y install "*late*"
3@@@@ after installation like below
[root@station252 R]# R