Skip to content
Prev 42903 / 398506 Next

Multiple groupedData plots in a postscript file using a loop

On Sat, 17 Jan 2004, Uwe Ligges wrote:

            
Or inside a loop

trellis.device("postscript", file = "PSFile.ps")
for (i in 1:1)
  print(plot(Loblolly))
# ^^^^^
dev.off()

Although Uwe is right that trellis.device should be used, recent versions 
of lattice do make correct use of an open postscript() device.

Not that Master Knoblick *is* using recent lattice, as we know from an
earlier posting.  See

https://www.stat.math.ethz.ch/pipermail/r-help/2004-January/042780.html

Once again he has omitted to let us know what versions he is using.