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

Daniel Nordlund res90sx5 at verizon.net
Tue Jul 3 18:22:15 CEST 2007



Dirk,

Thanks for the assistance.

> -----Original Message-----
> From: Dirk Eddelbuettel [mailto:edd at debian.org]
> Sent: Tuesday, July 03, 2007 6:57 AM
> To: Daniel Nordlund
> Cc: r-help at stat.math.ethz.ch
> Subject: Re: [R] MatchIt package on Ubuntu 7.04 (Feisty Fawn)
> 
> 
> 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?

Using install.packages() inside 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.

This is a new install using install.packages().  I will try your suggestions and maybe move further questions to r-sig-debian.

> 
> |   /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
> 
Thanks again,

Dan

Daniel Nordlund
Bothell, WA USA



More information about the R-help mailing list