[Rd] incorrect usage of glmer crashes R (PR#12375)

From: <susscorfa_at_zonnet.nl>
Date: Thu, 07 Aug 2008 12:20:41 +0200 (CEST)


Full_Name: susscorfa
Version: 2.7.1
OS: ubuntu
Submission from: (NULL) (129.125.177.31)

Incorrect implementation of the grouping variable in the function glmer crashes R

a small example:

require(lme4);
a<-data.frame(b=rpois(1000,10), c=gl(20,50), d=rnorm(1000,3), e=rnorm(1000,5), f=rnorm(1000,2)+5);
glmer(b~d+f|c+(e), family=poisson, data=a)

It crashes R on debian linux (2 independant systems) as well as windows

The correct function usage is:
 glmer(b~d+f+(e|c), family=poisson, data=a)

I suppose it should just eveluate as wrong usage of a function but should not crash R



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 07 Aug 2008 - 12:58:28 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sat 09 Aug 2008 - 02:36:14 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive