[R] installing R on Red Hat 7.1

Jonathan Baron baron at cattell.psych.upenn.edu
Thu Jun 13 19:27:03 CEST 2002

On 06/13/02 09:59, Ka Yee Yeung wrote:
>I'm having trouble installing R from the binary to my red hat 7.1 box.
>There are 2 rpm files on the web site:
>When I did:
>> rpm -ivh R-recommended-1.5.0-1.i386.rpm
>error: failed dependencies:
>	R-base = 1.5.0 is needed by R-recommended-1.5.0-1
>	libblas.so.3   is needed by R-recommended-1.5.0-1
>	libR.so   is needed by R-recommended-1.5.0-1

You need to install R-base before R-recommended, or at the same
time, by giving rpm ... two arguments.  And it is much better to
use -Uvh rather than -ivh in general (unless you need both
versions of something).

>I can't find libblas.so.3 and libR.so on the web site.

libR.so is part of R base, so that will be taken care of.
libblas.so.3 is a puzzle.  It might be provided by R-base,
but on my system it is provided by a package called blas, which
you can get from http://rpmfind.net/linux/RPM/
it is the "Basic Linear Algebra..." package.  My hunch is that
it is part of R-base, so I would try that first.

More advice: learn how to use rpm.  It is a wonderful tool.  Look
at all the options of rpm -q, for example.  And "rpmfind" is
always helpful too.

Jonathan Baron, Professor of Psychology, University of Pennsylvania
R page:               http://finzi.psych.upenn.edu/
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list