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 ______________________________________________ R-help@stat.math.ethz.ch mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.