Many thanks for your replies. I appreciate that. I tried what you suggested and it did work for the Poisson model (glm, "poisson" familly). Unfortunately, the negative binomial (glm.nb) did not work as I work the following message:
Warning messages: 1: In ifelse(y > mu, d.res, -d.res) : Reached total allocation of 1535Mb: see help(memory.size) 2: In ifelse(y > mu, d.res, -d.res) : Reached total allocation of 1535Mb: see help(memory.size) Any other suggestions as to how i could fit a negative binomial model to 400.000x21? Many thanks, -- View this message in context: http://r.789695.n4.nabble.com/glm-poisson-fitting-400-000-records-tp3925100p3932577.html Sent from the R help mailing list archive at Nabble.com. ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.