[R] Latest revision of lme4 requires 'Matrix' >= 0.995.2 but that version is not available on CRAN

Prof Brian Ripley ripley at stats.ox.ac.uk
Sat Jan 21 19:46:30 CET 2006

On Sat, 21 Jan 2006, Peter Dalgaard wrote:

> Søren Højsgaard <Soren.Hojsgaard at agrsci.dk> writes:
>> I just updated the packages on my pc (windows xp). When loading lme4 I get
>> > library(lme4)
>> Error: package 'Matrix' 0.995-1 was found, but >= 0.995.2 is required by 'lme4'


>> 2) When actually trying to compile Matrix, I get
>> lmer.o(.text+0x285f):lmer.c: undefined reference to `atanh'
>> make[3]: *** [Matrix.dll] Error 1
>> make[2]: *** [srcDynlib] Error 2
>> make[1]: *** [all] Error 2
>> make: *** [pkg-Matrix] Error 2
>> *** Installation of Matrix failed ***
>> Removing 'c:/programs/R/current/library/Matrix'
>> Restoring previous 'c:/programs/R/current/library/Matrix'
>> Can anyone help me on what to do???

Your toolset is out of date (well out of date, I suspect).  Please do 
ensure you have the versions listed in the R 2.2.1 R-admin manual.  I 
think this issue is an old mingw-runtime, but have not checked.

I can build Matrix 0.995.2 on Windows and have once checked it under 
R-devel.  However, it segfaults in its checks for me on almost all 
platforms, not always in the same test and not even in the same place on 
repeated runs.  I think the maintainers need to consider testing under 

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