[R-sig-ME] lmer maxiter not working?

Arne Schulz arne.schulz at student.uni-kassel.de
Tue Jun 9 12:55:56 CEST 2009


Hi Jeff,
I stumbled over your post. I am currently facing the same problem. Did you find a solution anyway?

My System is XP 32 Bit with R 2.8.1 and lme4-0.999375-29 - the most recent Version, I got from r-forge.

Tranks,
Arne

    Addendum:
    	I have tried this now on XP 32 bit (R 2.8.0) and Ubuntu 64 bit
    (2.8.1) with the same errors. 

    Thanks again,

    Jeff Evans,
    Michigan State University




    I have been trying to change the number of iterations allowed by lmer in
    lme4 but it always runs for exactly 300 iterations.


    mp1 <- lmer(Siliques ~ State * Year +
    AdultsJuneD + RosOctD + SumSrv + WinSrv +
    soilsPC1 + soilsPC2 + 
    WinClimPC1 + WinClimPC2 + WinClimPC2_2 +
    (RosOctD*Year | Site) + (1 | ID),
    data=dat.gm,
    family="poisson",
    verbose=TRUE,
    control = list(maxIter = 100))

    299:     3796.3537: 0.669478 0.895477 5.18862e-10 0.612108 
    300:     3796.3537: 0.669478 0.895478  0.00000 0.612108 ......
    Warning message:
    In mer_finalize(ans) : iteration limit reached without convergence (9)

    changing to:
    ...control = list(maxIter = 10000))

    still only runs for 300 iterations with same warning

    Any thoughts?

    particulars:
    ?lme4? version 0.999375-28
    R version 2.8.1 (2008-12-22)
    Vista Ultimate 64 Bit sp1

    Thanks,
    Jeff




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