[R] R won't start right

Andrew Perrin clists at perrin.socsci.unc.edu
Thu Jun 27 15:49:46 CEST 2002

On Thu, 27 Jun 2002, Dirk Eddelbuettel wrote:

> > By the way: I also tried using the debian woody packages available via
> > CRAN. There are two issues, one major and one minor:
> > - Minor issue: woody is referred to as Debian 2.3, when it's actually
> > Debian 3.0.
> Where is that reference made?  Could you point to a concrete file to fixed?


> > - Major issue: there's a dependancy problem. I installed r-base and
> > r-recommended from the CRAN archive and tried to run them, but got an
> > error loading libraries on libblas.so.2: no such file or directory.
> Strange, you should have gotten an error on installation then.  Which Debian
> package did you install:  "stable" or "testing/unstable"?  

I put this in sources.list:
deb http://cran.us.r-project.org/bin/linux/debian woody main

and then did:
apt-get install r-base r-recommended

It installed fine, even though:
nujoma:~> dpkg -l | grep -i blas

returns nothing.

> Anyway, please install any of the packages providing a blas library -- either 
> the non-optimised blas package or an optimised Atlas library matching your 
> hardware. 

nujoma:~> locate libblas

Interestingly enough, my home-built version seems to use a different blas
from either of the above:

nujoma:~> ldd /usr/local/lib/R/bin/R.bin
        libf77blas.so.2 => /usr/lib/libf77blas.so.2 (0x4001e000)
        libatlas.so.2 => /usr/lib/libatlas.so.2 (0x40035000)
        libreadline.so.4 => /lib/libreadline.so.4 (0x40243000)
        libdl.so.2 => /lib/libdl.so.2 (0x40269000)
        libncurses.so.5 => /lib/libncurses.so.5 (0x4026c000)
        libm.so.6 => /lib/libm.so.6 (0x402aa000)
        libc.so.6 => /lib/libc.so.6 (0x402cb000)
        /lib/ld-linux.so.2 => /lib/ld-linux.so.2 (0x40000000)

I hope this is of some help.


Andrew J Perrin - http://www.unc.edu/~aperrin
Assistant Professor of Sociology, U of North Carolina, Chapel Hill
clists at perrin.socsci.unc.edu * andrew_perrin (at) unc.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