[R-sig-ME] Simple bug in lmer: reliably crashes R

Nathaniel Smith njs at pobox.com
Sat Oct 13 11:21:48 CEST 2007

There seems to be a minor input-validation bug in lme4 0.99875-8,
where fitting a model with (0 | ...) crashes R.

To reproduce:

> library(lme4)
> frame <- data.frame(A=1:100, B=1:100, C=rep(1:10, 10)
> lmer(A ~ B + (0 | C), frame)
Process R floating point exception at Sat Oct 13 01:26:25 2007

Obviously the workaround is "don't do that then", but it would
probably be good to fix at some point.

-- Nathaniel

Damn the Solar System.  Bad light; planets too distant; pestered with
comets; feeble contrivance; could make a better one myself.
  -- Lord Jeffrey

More information about the R-sig-mixed-models mailing list