[R] Multiple groupedData plots in a postscript file using a loop
Karl Knoblick
karlknoblich at yahoo.de
Sat Jan 17 15:58:57 CET 2004
Hallo!
I want to plot multiple grouped data in a postscript
file using a loop. As I use a loop no plot (or just
one empty plot) is generated. Here an example:
library(nlme)
data(Loblolly) # example data from nlme
postscript("PSFile.ps")
for (i in 1:1) # just as example
{
plot(Loblolly)
}
dev.off()
Result: Just an empty PSFile.ps.
(Withoput the loop it works.
May anybody help?
Karl
__________________________________________________________________
More information about the R-help
mailing list