[R] Problems with loading arm
Gregory Wawro
gjw10 at yoknapatawpha.pols.columbia.edu
Tue Mar 16 19:54:50 CET 2010
Hello,
I recently updated to R 2.10 on my 64 bit Dell Precision T7400 running
Enterprise Linux and now I can't get the arm library to load when I run
R using Wine. Prior to the update I was able to use arm without any
trouble. My main goal is to use arm with WinBUGS on this machine,
calling it from R for Windows, which is executed with wine. After the
update, when I try to load the arm library, I get the following:
> library(arm)
Loading required package: MASS
Loading required package: Matrix
Loading required package: lattice
Loading required package: lme4
Loading required package: R2WinBUGS
Loading required package: coda
Attaching package: 'coda'
The following object(s) are masked from package:lme4 :
HPDinterval
Loading required package: abind
Loading required package: car
Error in packageDescription("arm", lib = mylib)$Version :
$ operator is invalid for atomic vectors
In addition: Warning message:
In packageDescription("arm", lib = mylib) : no package 'arm' was found
Error : .onAttach failed in 'attachNamespace'
Error: package/namespace load failed for 'arm'
I tried reinstalling arm (and updating all packages), but I still get
the same error.
I've tried loading arm in R running under linux pointing to the library
location that R for Windows is reading from and it loads fine. I've tried
loading arm in R for Windows referencing the library location where I've
installed arm for R for linux, and get the following:
> library(arm)
Loading required package: MASS
Loading required package: Matrix
Loading required package: lattice
Loading required package: lme4
Error in library.dynam(lib, package, package.lib) :
shared library 'lme4' not found
Error: package 'lme4' could not be loaded
I installed lme4 in the same directory as arm (i.e., myrlibrary/), but R
claims it can't find it, even though it shows up in the window when I
click on "Load Packages...". I'm assuming this has something to do with
a shared library problem.
I've spent the past two days googling, reading manuals and standard
references, and I'm stumped. Does anyone have any suggestions about how
I might fix this problem.
Best,
Greg
.............................................................
Gregory Wawro gjw10 at columbia.edu
Associate Professor phone: 212-854-8540
Dept. of Political Science fax: 212-222-0598
741 International Affairs http://www.columbia.edu/~gjw10/
Columbia University
New York, NY 10027
.............................................................
More information about the R-help
mailing list