[R] Spare some CPU cycles for testing lme?

Thomas Schönhoff tom_woody at swissinfo.org
Tue Sep 14 08:55:51 CEST 2004


Hello,

Frank Samuelson schrieb:

> If anyone has a few extra CPU cycles to spare,
> I'd appreciate it if you could verify a problem that I
> have encountered.  Run the code
> below and tell me if it crashes your R before
> completion.
>
> library(lme4)
> data(bdf)
> dump<-sapply( 1:50000, function(i) {
>     fm <- lme(langPOST ~ IQ.ver.cen + avg.IQ.ver.cen, data = bdf,
>               random = ~ IQ.ver.cen | schoolNR);
>     cat("  ",i,"\r")
>     0
> })
>
>
I also tested your code by using R-1.91 under Debian Sid. After hundreds 
of iterations it ended up with the already noticed "segmentation fault"

HTH

Thomas




More information about the R-help mailing list