[R] avoiding warning messages on the screen with 'lme'

Marco Geraci marcodoc75 at yahoo.com
Fri Jan 27 22:47:03 CET 2006

Dear all,
does anyone know a command to shut 'lme' (nlme) up? :)

I have a loop

for(i in 1:M){

and for each "i" i get the warning message
>Fewer observations than random effects in all level 1
groups >in: ...

I know I'm using "fewer observations...", I just don't
want to see the message printed on the screen during
the loop.

Marco Geraci

> sessionInfo()
R version 2.2.1, 2005-12-20, i386-pc-mingw32 

attached base packages:
[1] "methods"   "stats"     "graphics"  "grDevices"
"utils"     "datasets" 
[7] "base"     

other attached packages:

More information about the R-help mailing list