[R] postscript() and levelplot() in a for loop

Thomas Lumley tlumley at u.washington.edu
Wed Jan 26 20:00:58 CET 2005


On Wed, 26 Jan 2005, Wang, Yan wrote:

> Hi,
>
>
>
> I like to produce a series of levelplot graphs in postscript file, so I put
> the trunk of codes including postscript() and levelplot() in a for loop. The
> codes work fine outside the loop, but only produce empty .ps file when being
> put within the loop. Is it a problem associated with postscript() or
> levelplot()? How to get around the problem? Many thanks!
>

It's hard to be sure without seeing any code, but it sounds like you 
should look at
FAQ 7.22 Why do lattice/trellis graphics not work?

 	-thomas




More information about the R-help mailing list