Dear listmembers!

I have also had trouble with the maxIter specification in (g)lmer. I've tried to increase the number of iterations (to 1000) via the control statement in lmer but it still stops at 300 (the default).
We are now a number of users having problem with this but I haven't seen any solution to the problem on this list and I would really appreciate any hint on what I am doing wrong.
I am running on a Vista 64-bit machine and my model specification and session info follows below. Please let me know if any other information needs to be attached.

Thanks in advance

/Martin

m2<-lmer(ant~bete+crop+vall+trad+fprom + fprom:bete + fprom:crop + fprom:vall + fprom:trad
 + (1|fyear) + (1|rutt), family=poisson, data=dat, control=list(maxIter=1000), verbose=T)

> sessionInfo()
R version 2.10.1 (2009-12-14)
i386-pc-mingw32

locale:
[1] LC_COLLATE=English_United Kingdom.1252  LC_CTYPE=English_United Kingdom.1252    LC_MONETARY=English_United Kingdom.1252 LC_NUMERIC=C                            LC_TIME=English_United Kingdom.1252

attached base packages:
[1] grDevices datasets  splines   graphics  stats     tcltk     utils     methods   base

other attached packages:
[1] lme4_0.999375-32   Matrix_0.999375-33 lattice_0.17-26    svSocket_0.9-48    TinnR_1.0.3        R2HTML_1.59-1      Hmisc_3.7-0        survival_2.35-7

loaded via a namespace (and not attached):
[1] cluster_1.12.1 grid_2.10.1    svMisc_0.9-56  tools_2.10.1

> str(m2)
Formal class 'mer' [package "lme4"] with 34 slots
  ..@ env     :<environment: 0x07bbe8b4>
  ..@ nlmodel : language I(x)
  ..@ frame   :'data.frame':    2922 obs. of  8 variables:
  .. ..$ ant  : num [1:2922] 3 2 1 0 1 0 0 0 1 0 ...
  .. ..$ bete : num [1:2922] 19 26.6 28.4 21.2 31.4 ...
  .. ..$ crop : num [1:2922] 12.13 14.37 9.22 9.22 16.63 ...
  .. ..$ vall : num [1:2922] 6.2 14.63 20.08 20.15 9.87 ...
  .. ..$ trad : num [1:2922] 3.62 3.57 3.16 3.12 3.12 ...
  .. ..$ fprom: Factor w/ 8 levels "1","2","3","4",..: 1 1 1 1 1 1 1 1 1 1 ...
  .. ..$ fyear: Factor w/ 10 levels "1999","2000",..: 1 2 3 4 5 7 8 9 10 2 ...
  .. ..$ rutt : Factor w/ 540 levels "02C2H","02C7H",..: 1 1 1 1 1 1 1 1 1 2 ...
  .. ..- attr(*, "terms")=Classes 'terms', 'formula' length 3 ant ~ bete + crop + vall + trad + fprom + fprom:bete + fprom:crop +      fprom:vall + fprom:trad
  .. .. .. ..- attr(*, "variables")= language list(ant, bete, crop, vall, trad, fprom)
  .. .. .. ..- attr(*, "factors")= int [1:6, 1:9] 0 1 0 0 0 0 0 0 1 0 ...
  .. .. .. .. ..- attr(*, "dimnames")=List of 2
  .. .. .. .. .. ..$ : chr [1:6] "ant" "bete" "crop" "vall" ...
  .. .. .. .. .. ..$ : chr [1:9] "bete" "crop" "vall" "trad" ...
  .. .. .. ..- attr(*, "term.labels")= chr [1:9] "bete" "crop" "vall" "trad" ...
  .. .. .. ..- attr(*, "order")= int [1:9] 1 1 1 1 1 2 2 2 2
  .. .. .. ..- attr(*, "intercept")= int 1
  .. .. .. ..- attr(*, "response")= int 1
  .. .. .. ..- attr(*, ".Environment")=<environment: R_GlobalEnv>
  .. .. .. ..- attr(*, "predvars")= language list(ant, bete, crop, vall, trad, fprom)
  .. .. .. ..- attr(*, "dataClasses")= Named chr [1:6] "numeric" "numeric" "numeric" "numeric" ...
  .. .. .. .. ..- attr(*, "names")= chr [1:6] "ant" "bete" "crop" "vall" ...
  ..@ call    : language glmer(formula = ant ~ bete + crop + vall + trad + fprom + fprom:bete +      fprom:crop + fprom:vall + fprom:trad + (1 | fyear) + (1 |  ...
  ..@ flist   :'data.frame':    2922 obs. of  2 variables:
  .. ..$ rutt : Factor w/ 540 levels "02C2H","02C7H",..: 1 1 1 1 1 1 1 1 1 2 ...
  .. ..$ fyear: Factor w/ 10 levels "1999","2000",..: 1 2 3 4 5 7 8 9 10 2 ...
  .. ..- attr(*, "assign")= int [1:2] 1 2
  ..@ X       : num [1:2922, 1:40] 1 1 1 1 1 1 1 1 1 1 ...
  .. ..- attr(*, "assign")= int [1:40] 0 1 2 3 4 5 5 5 5 5 ...
  .. ..- attr(*, "contrasts")=List of 1
  .. .. ..$ fprom: chr "contr.treatment"
  ..@ Xst     :Formal class 'dgCMatrix' [package "Matrix"] with 6 slots
  .. .. ..@ i       : int(0)
  .. .. ..@ p       : int 0
  .. .. ..@ Dim     : int [1:2] 0 0
  .. .. ..@ Dimnames:List of 2
  .. .. .. ..$ : NULL
  .. .. .. ..$ : NULL
  .. .. ..@ x       : num(0)
  .. .. ..@ factors : list()
  ..@ Zt      :Formal class 'dgCMatrix' [package "Matrix"] with 6 slots
  .. .. ..@ i       : int [1:5844] 0 540 0 541 0 542 0 543 0 544 ...
  .. .. ..@ p       : int [1:2923] 0 2 4 6 8 10 12 14 16 18 ...
  .. .. ..@ Dim     : int [1:2] 550 2922
  .. .. ..@ Dimnames:List of 2
  .. .. .. ..$ : NULL
  .. .. .. ..$ : NULL
  .. .. ..@ x       : num [1:5844] 1 1 1 1 1 1 1 1 1 1 ...
  .. .. ..@ factors : list()
  ..@ pWt     : num [1:2922] 1 1 1 1 1 1 1 1 1 1 ...
  ..@ offset  : num(0)
  ..@ y       : num [1:2922] 3 2 1 0 1 0 0 0 1 0 ...
  ..@ Gp      : int [1:3] 0 540 550
  ..@ dims    : Named int [1:18] 2 2922 40 550 1 2 0 0 5 6 ...
  .. ..- attr(*, "names")= chr [1:18] "nt" "n" "p" "q" ...
  ..@ ST      :List of 2
  .. ..$ : num [1, 1] 0.772
  .. .. ..- attr(*, "dimnames")=List of 2
  .. .. .. ..$ : chr "(Intercept)"
  .. .. .. ..$ : chr "(Intercept)"
  .. ..$ : num [1, 1] 0.126
  .. .. ..- attr(*, "dimnames")=List of 2
  .. .. .. ..$ : chr "(Intercept)"
  .. .. .. ..$ : chr "(Intercept)"
  ..@ V       : num[0 , 0 ]
  ..@ A       :Formal class 'dgCMatrix' [package "Matrix"] with 6 slots
  .. .. ..@ i       : int [1:5844] 0 540 0 541 0 542 0 543 0 544 ...
  .. .. ..@ p       : int [1:2923] 0 2 4 6 8 10 12 14 16 18 ...
  .. .. ..@ Dim     : int [1:2] 550 2922
  .. .. ..@ Dimnames:List of 2
  .. .. .. ..$ : chr [1:550] "02C2H" "02C7H" "02D2C" "02D2H" ...
  .. .. .. ..$ : NULL
  .. .. ..@ x       : num [1:5844] 0.772 0.126 0.772 0.126 0.772 ...
  .. .. ..@ factors : list()
  ..@ Cm      :Formal class 'dgCMatrix' [package "Matrix"] with 6 slots
  .. .. ..@ i       : int(0)
  .. .. ..@ p       : int 0
  .. .. ..@ Dim     : int [1:2] 0 0
  .. .. ..@ Dimnames:List of 2
  .. .. .. ..$ : NULL
  .. .. .. ..$ : NULL
  .. .. ..@ x       : num(0)
  .. .. ..@ factors : list()
  ..@ Cx      : num [1:5844] 0.5548 0.0909 0.675 0.1106 0.6978 ...
  ..@ L       :Formal class 'dCHMsimpl' [package "Matrix"] with 10 slots
  .. .. ..@ x       : num [1:3517] 1.2728 0.0798 1.4194 0.0633 0.0538 ...
  .. .. ..@ p       : int [1:551] 0 2 5 8 11 14 17 20 23 27 ...
  .. .. ..@ i       : int [1:3517] 0 548 1 548 549 2 547 549 3 547 ...
  .. .. ..@ nz      : int [1:550] 2 3 3 3 3 3 3 3 4 4 ...
  .. .. ..@ nxt     : int [1:552] 1 2 3 4 5 6 7 8 9 10 ...
  .. .. ..@ prv     : int [1:552] 551 0 1 2 3 4 5 6 7 8 ...
  .. .. ..@ colcount: int [1:550] 2 3 3 3 3 3 3 3 4 4 ...
  .. .. ..@ perm    : int [1:550] 441 214 356 404 405 433 267 394 94 299 ...
  .. .. ..@ type    : int [1:4] 2 1 0 1
  .. .. ..@ Dim     : int [1:2] 550 550
  ..@ deviance: Named num [1:13] 4616.46 NA 844.01 329.712 0.934 ...
  .. ..- attr(*, "names")= chr [1:13] "ML" "REML" "ldL2" "ldRX2" ...
  ..@ fixef   : Named num [1:40] -1.34395 0.01262 0.00649 0.00805 -0.04723 ...
  .. ..- attr(*, "names")= chr [1:40] "(Intercept)" "bete" "crop" "vall" ...
  ..@ ranef   : num [1:550] 0.59624 -0.56955 1.10574 0.28647 0.00864 ...
  ..@ u       : num [1:550] -0.0305 -0.5417 0.1944 0.056 0.9544 ...
  ..@ eta     : num [1:2922] -0.662 -0.269 -0.203 -0.294 -0.307 ...
  ..@ mu      : num [1:2922] 0.516 0.764 0.816 0.745 0.736 ...
  ..@ muEta   : num [1:2922] 0.516 0.764 0.816 0.745 0.736 ...
  ..@ var     : num [1:2922] 0.516 0.764 0.816 0.745 0.736 ...
  ..@ resid   : num [1:2922] 3.458 1.414 0.203 -0.863 0.308 ...
  ..@ sqrtXWt : num [1:2922, 1] 0.718 0.874 0.904 0.863 0.858 ...
  ..@ sqrtrWt : num [1:2922] 1.39 1.14 1.11 1.16 1.17 ...
  ..@ RZX     : num [1:550, 1:40] 0.631 0.926 1.306 1.015 1.614 ...
  ..@ RX      : num [1:40, 1:40] 17.8 0 0 0 0 ...
  ..@ ghx     : num 0
  ..@ ghw     : num 1.77







Martin Stjernman
Department of Animal Ecology
Lund University
Ecology building
S-223 62 Lund
Sweden
phone: +46 (0)46-222 05 74
mobile: +46 (0)708-810 887
fax: +46 (0)46-222 47 16
e-mail: martin.stjernman@zooekol.lu.se<mailto:martin.stjernman@zooekol.lu.se>



	[[alternative HTML version deleted]]


