[R] Problem loading a library

Prof Brian Ripley ripley at stats.ox.ac.uk
Thu Jan 20 14:23:55 CET 2005


On Thu, 20 Jan 2005, Marco Sandri wrote:

> Hi.
> I have R (Ver 2.0) correctly running on a Suse 9.0
> Linux machine.

32- or 64-bit?

> I correclty installed the "Logic Regression" LogicReg library
> (by the command: R CMD INSTALL LogicReg)
> developed by Ingo Ruczinski and Charles Kooperberg :
> http://bear.fhcrc.org/~ingor/logic/html/program.html
>
> When I try to load the library in R by the command:
> library(LogicReg)
> I get the following error:
> Error in dyn.load(x, as.logical(local), as.logical(now)) :
> unable to load shared library
> "/usr/lib/R/library/LogicReg/libs/LogicReg.so":
> /usr/lib/R/library/LogicReg/libs/LogicReg.so: cannot map zero-fill pages:
> Cannot allocate memory
> Error in library(LogicReg) : .First.lib failed
>
> How could I solve the problem?

Use a different machine?  That package works on all of mine, 32- and 
64-bit.

BTW, the posting guide does suggest you contact the package authors first, 
so what do they say?

-- 
Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595




More information about the R-help mailing list