[R] how to obtain "par(ask=TRUE)" with trellis-plots

Leo Gürtler leog at anicca-vijja.de
Wed Jan 11 13:41:25 CET 2006


Dear alltogether,

how can a delay like possible with par(ask=TRUE) be attained while using 
trellis-plots within a loop or something like that?
the following draws each plot without waiting for a signal 
(mouse-klick), so par() does not work for that:

library(nlme)
for(i in 1:3)
{
  fitlme <- lme(Orthodont)
  par(ask=TRUE)                     # does not work with trellis....
  print( plot(augPred(fitlme)) )
}

thanks,

leo

-- 

email: leog at anicca-vijja.de
www: http://www.anicca-vijja.de/




More information about the R-help mailing list