[R-SIG-Mac] lme4 crashes R

Simon Urbanek simon.urbanek at math.uni-augsburg.de
Thu Aug 5 20:14:49 CEST 2004


On Aug 5, 2004, at 12:55 PM, Andrew Beckerman wrote:

> has anyone had success at building and running the source distribution 
> of lme4 from CRAN on OSX?  I find that it builds, and will load as a 
> library, but running the lme example in lme4 causes R to crash - the 
> data file loads, the model appears to run, but attempting a summary() 
> or print() causes the crash.

It's a bug which is not OS X specific. Attached you'll find a patch 
with the fix. I suspect that the reason is that lme4 uses direct calls 
to C code of Matrix (why doesn't Matrix provide R-level interface for 
this? I thought calling C code of another package is strongly 
discouraged...), the interface changed and one of those calls was not 
fixed.

Cheers,
Simon

(CC to maintainers in case they didn't find out yet ;)).

-------------- next part --------------
A non-text attachment was scrubbed...
Name: lme4.fix.diff
Type: application/octet-stream
Size: 562 bytes
Desc: not available
Url : https://www.stat.math.ethz.ch/pipermail/r-sig-mac/attachments/20040805/5a9d5eb4/lme4.fix.obj


More information about the R-SIG-Mac mailing list