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

From: Marco Geraci <marcodoc75_at_yahoo.com>
Date: Sat 28 Jan 2006 - 08:47:03 EST


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

I have a loop

for(i in 1:M){
lme(..)
}

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.

Thanks,
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:

    nlme
"3.1-66"
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Sat Jan 28 08:57:02 2006

This archive was generated by hypermail 2.1.8 : Fri 03 Mar 2006 - 03:42:14 EST