hi working with R-2.1.1 on winxp, in a loop I draw to a trellis.device which takes some time. After the drawing I call savePlot(). it seems, the loop is too fast for the savePlot() call to finish. Is there any solution for such a problem? Calling the same steps outside the loop, works fine. many thanks christoph --