[R] MatchIt package on Ubuntu 7.04 (Feisty Fawn)

Dirk Eddelbuettel edd at debian.org
Tue Jul 3 15:56:42 CEST 2007


On 2 July 2007 at 23:47, Daniel Nordlund wrote:
| I tried to install the MatchIt package on Ubuntu 7.04. 

How? Via 'sudo apt-get install r-cran-matchit', or using R?

| When loading required dependencies I got the following error message:
| 
| Error in dyn.load(x, as.logical(local), as.logical(now)) :
|         unable to load shared library
| '/usr/local/lib/R/site-library/optmatch/libs/optmatch.so':

/usr/local, so you did this using via 'R CMD INSTALL ' or from inside
R. Consider removing this directory and install the Ubuntu-supplied package. 
Also, you didn't mention whether this is an older install of matchit, or
whether you just did it.

|   /usr/local/lib/R/site-library/optmatch/libs/optmatch.so: cannot map zero-fill pages: Cannot allocate memory
| Error: package/namespace load failed for 'optmatch'
| 
| optmatch.so appears to be where R is looking for it so I don't know what
| has gone wrong.   Have I missed something in the installation process, or

Looks like a runtime error, possible due to mismatched libraries. 

| is this a known Ubuntu problem, or a licensing issue?  Should I direct this
| question to the maintainer? 

Possibly, the r-sig-debian list is also 'on topic' for Debian/Ubuntu questions.

Hth, Dirk

-- 
Hell, there are no rules here - we're trying to accomplish something. 
                                                  -- Thomas A. Edison



More information about the R-help mailing list