Skip to content
Prev 715 / 3656 Next

[Fwd: Re: Problem at instaling robustbase (Rlapack)]

Dear list,

I'm forwarding these 2 messages as suggested by the package
developer.

My system is
R version 2.9.0 (2009-04-17)
i486-pc-linux-gnu

on Ubuntu 8.04, with r-base-core, r-base-dev and r-recommended
installed from binaries through Synaptic. I normally install the rest
of packages using install.packages() from within R (started
from an xterminal by su)

Agus

-----Message 1-----
----Message 2------
-------- Original Message --------
Subject: Re: Problem at instaling robustbase (Rlapack)
Date: Mon, 11 May 2009 19:06:34 +0200
From: Agustin Lobo <Agustin.Lobo at ija.csic.es>
Reply-To: Agustin.Lobo at ija.csic.es
To: Martin Maechler <maechler at stat.math.ethz.ch>
References: <4A084A73.10201 at gmail.com>
<18952.22171.706662.231993 at lynne.math.ethz.ch>

Martin,

Thanks for your prompt answer.

1.I've used
I've verified
~$ R CMD config LAPACK_LIBS
-L/usr/lib/R/lib -lRlapack

Then I've seen that I actually do not have Rlapack:
# ls -l /usr/lib/R/modules
total 596
-rw-r--r-- 1 root root  44912 2009-04-17 18:44 internet.so
-rw-r--r-- 1 root root  30980 2009-04-17 18:44 lapack.so
-rw-r--r-- 1 root root 136812 2009-04-17 18:44 R_X11.so
-rw-r--r-- 1 root root 383056 2009-04-17 18:44 vfonts.so

Which seems in contradiction with the R CMD command.

Then I've done:
cd /usr/lib/R/modules
sudo ln -sf ./lapack.so ./libRlapack.so

But this does not solve the problem

2. I've seen that there's a binary in Synaptic, I've installed it,
seems ok, but then I get:
Loading required package: robustbase
Error in dyn.load(file, DLLpath = DLLpath, ...) :
   unable to load shared library
'/usr/lib/R/site-library/robustbase/libs/robustbase.so':
   libRlapack.so: cannot open shared object file: No such file or directory

unless I actually start R from within /usr/lib/R/modules, in which case
it works but cannot install mvoutlier (my ultimate goal) anyway:
Warning in install.packages("mvoutlier") :
   argument 'lib' is missing: using '/usr/local/lib/R/site-library'
trying URL 'http://cran.es.r-project.org/src/contrib/mvoutlier_1.4.tar.gz'
Content type 'application/x-gzip' length 678736 bytes (662 Kb)
opened URL
==================================================
downloaded 662 Kb

* Installing *source* package ?mvoutlier? ...
** R
** data
** preparing package for lazy loading
Error in dyn.load(file, DLLpath = DLLpath, ...) :
   unable to load shared library
'/usr/lib/R/site-library/robustbase/libs/robustbase.so':
   libRlapack.so: cannot open shared object file: No such file or directory
Error : package 'robustbase' could not be loaded
ERROR: lazy loading failed for package ?mvoutlier?
* Removing ?/usr/local/lib/R/site-library/mvoutlier?

The downloaded packages are in
	?/tmp/RtmpP0QfJ6/downloaded_packages?
Warning message:
In install.packages("mvoutlier") :
   installation of package 'mvoutlier' had non-zero exit status


3. # R CMD INSTALL robustbase
Warning: invalid package ?robustbase?

Agus