[R] R-3.0.1 for Centos 5?

Michael Weylandt michael.weylandt at gmail.com
Mon Jun 17 08:44:00 CEST 2013



On Jun 17, 2013, at 7:32, Erin Hodgess <erinm.hodgess at gmail.com> wrote:

> Dear R People:
> 
> I am working with a Centos 5 machine and would like to install R-3.0.1.
> 
> However, the only version that shows up "automatically" is R-2.15.2.
> 
> I have tried the following:
> 
> root at erinminfo [~]# wget
> http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
> --2013-06-17 06:20:30--
> http://dl.fedoraproject.org/pub/epel/5/x86_64/epel-release-5-4.noarch.rpm
> Resolving dl.fedoraproject.org... 209.132.181.26, 209.132.181.27,
> 209.132.181.23, ...
> Connecting to dl.fedoraproject.org|209.132.181.26|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 12232 (12K) [application/x-rpm]
> Saving to: `epel-release-5-4.noarch.rpm'
> 
> 100%[======================================>] 12,232      --.-K/s   in
> 0.06s
> 
> 2013-06-17 06:20:30 (196 KB/s) - `epel-release-5-4.noarch.rpm' saved
> [12232/12232]
> 
> root at erinminfo [~]# wget
> http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
> --2013-06-17 06:20:30--
> http://rpms.famillecollet.com/enterprise/remi-release-5.rpm
> Resolving rpms.famillecollet.com... 88.191.74.232,
> 2a01:e0b:1:74:2e0:f4ff:fe1b:b827
> Connecting to rpms.famillecollet.com|88.191.74.232|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 5180 (5.1K) [application/x-rpm]
> Saving to: `remi-release-5.rpm'
> 
> 100%[======================================>] 5,180       --.-K/s   in
> 0.1s
> 
> 2013-06-17 06:20:31 (50.9 KB/s) - `remi-release-5.rpm' saved [5180/5180]
> 
> root at erinminfo [~]# sudo rpm -Uvh remi-release-5*.rpm epel-release-5*.rpm
> warning: remi-release-5.rpm: Header V3 DSA signature: NOKEY, key ID 00f97f56
> Preparing...                ###########################################
> [100%]
>    package epel-release-5-4.noarch is already installed
> root at erinminfo [~]# cd /etc/yum.repos.d
> root at erinminfo [/etc/yum.repos.d]# ls
> ./   CentOS-Base.repo       CentOS-Media.repo  dag.repo   epel-testing.repo
> ../  CentOS-Debuginfo.repo  CentOS-Vault.repo  epel.repo  r1soft.repo
> root at erinminfo [/etc/yum.repos.d]# cd
> root at erinminfo [~]# find / -name remi-release-5.rpm
> /root/remi-release-5.rpm
> 
> root at erinminfo [~]# sudo nano remi-release-5.rpm
> root at erinminfo [~]# ls remi*
> remi-release-5.rpm  remi-release-6.rpm.1
> remi-release-6.rpm  remi-release-6.rpm.2
> root at erinminfo [~]# wget http://rpms.famillecollet.com/enterprise/remi.repo
> --2013-06-17 06:24:05--  http://rpms.famillecollet.com/enterprise/remi.repo
> Resolving rpms.famillecollet.com... 88.191.74.232,
> 2a01:e0b:1:74:2e0:f4ff:fe1b:b827
> Connecting to rpms.famillecollet.com|88.191.74.232|:80... connected.
> HTTP request sent, awaiting response... 200 OK
> Length: 645 [text/plain]
> Saving to: `remi.repo'
> 
> 100%[======================================>] 645         --.-K/s   in
> 0s
> 
> 2013-06-17 06:24:06 (38.4 MB/s) - `remi.repo' saved [645/645]
> 
> root at erinminfo [~]# ls remi*
> remi-release-5.rpm  remi-release-6.rpm.1  remi.repo
> remi-release-6.rpm  remi-release-6.rpm.2
> root at erinminfo [~]# sudo nano remi-repo
> root at erinminfo [~]# sudo nano remi.repo
> root at erinminfo [~]# sudo yum clean all
> Loaded plugins: fastestmirror, security
> Cleaning up Everything
> root at erinminfo [~]# sudo yum install R
> Loaded plugins: fastestmirror, security
> Determining fastest mirrors
> * base: mirror.thelinuxfix.com
> * epel: mirrors.servercentral.net
> * extras: yum.singlehop.com
> * updates: yum.singlehop.com
> base                                                     | 1.1 kB
> 00:00
> base/primary                                             | 1.2 MB
> 00:00
> base
> 3641/3641
> dag                                                      | 1.9 kB
> 00:00
> dag/primary_db                                           | 7.0 MB
> 01:16
> epel                                                     | 3.6 kB
> 00:00
> epel/primary_db                                          | 3.8 MB
> 00:02
> extras                                                   | 2.1 kB
> 00:00
> extras/primary_db                                        | 188 kB
> 00:00
> updates                                                  | 1.9 kB
> 00:00
> updates/primary_db                                       | 473 kB
> 00:00
> Excluding Packages in global exclude list
> Finished
> Setting up Install Process
> Package R-2.15.2-1.el5.x86_64 already installed and latest version
> Nothing to do
> root at erinminfo [~]# sudo yum upgrade R
> Loaded plugins: fastestmirror, security
> Loading mirror speeds from cached hostfile
> * base: mirror.thelinuxfix.com
> * epel: mirrors.servercentral.net
> * extras: yum.singlehop.com
> * updates: yum.singlehop.com
> Excluding Packages in global exclude list
> Finished
> Skipping security plugin, no data
> Setting up Upgrade Process
> No Packages marked for Update
> root at erinminfo [~]#
> 
> 
> but to no avail.
> 
> Would I be better off compiling from source, please?

Yes; also check out the R-SIG-Fedora list. 

MW

> 
> I have looked and I don't see much about R version 3 on Centos 5.
> 
> Thanks,
> Sincerely,
> Erin
> 
> 
> 
> -- 
> Erin Hodgess
> Associate Professor
> Department of Computer and Mathematical Sciences
> University of Houston - Downtown
> mailto: erinm.hodgess at gmail.com
> 
>    [[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list