[R] Problem Installing R 2.9.1.1 RHEL x86_64 binary

Gavin Simpson gavin.simpson at ucl.ac.uk
Wed Aug 12 11:55:03 CEST 2009


On Wed, 2009-08-12 at 02:28 -0700, Jeroen Ooms wrote:
> I just grabbed the new EL5 binary's for my x64 VPS from CRAN. However, where
> updates usually go smoothly, I now get these errors:
> 
> -bash-3.2# rpm -i R-2.9.1-1.el5.x86_64.rpm
> error: Failed dependencies:
>         R-devel = 2.9.1-1.el5 is needed by R-2.9.1-1.el5.x86_64
> 
> -bash-3.2# rpm -i R-core-2.9.1-1.el5.x86_64.rpm
> error: Failed dependencies:
>         perl(File::Copy::Recursive) is needed by R-core-2.9.1-1.el5.x86_64
> 
> -bash-3.2# rpm -i R-devel-2.9.1-1.el5.x86_64.rpm
> error: Failed dependencies:
>         R-core = 2.9.1-1.el5 is needed by R-devel-2.9.1-1.el5.x86_64
>         pcre-devel is needed by R-devel-2.9.1-1.el5.x86_64
> 
> What could be the problem?

Do you have perl(File::Copy::Recursive) or pcre-devel installed? If not,

yum install perl(File::Copy::Recursive) pcre-devel

as route in a terminal will install those packages and their
dependencies for you.

But I suggest you configure the EPEL repository for RHEL (Extra Packages
for Enterprise Linux) and yum and then you'll be able to install and
update R just like any other package on your RHEL system, and it would
resolve the dependencies for you.

Details on setting up EPEL can be found here:

https://fedoraproject.org/wiki/EPEL

HTH

G

> 
> -----
> Jeroen Ooms * Dept. of Methodology and Statistics * Utrecht University 
> 
> Visit  http://www.jeroenooms.com www.jeroenooms.com  to explore some of my
> current projects.
> 
> 
> 
> 
> 
>  
-- 
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%
 Dr. Gavin Simpson             [t] +44 (0)20 7679 0522
 ECRC, UCL Geography,          [f] +44 (0)20 7679 0565
 Pearson Building,             [e] gavin.simpsonATNOSPAMucl.ac.uk
 Gower Street, London          [w] http://www.ucl.ac.uk/~ucfagls/
 UK. WC1E 6BT.                 [w] http://www.freshwaters.org.uk
%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%~%




More information about the R-help mailing list