[R] overwritten plots in pdf file
baptiste auguie
baptiste.auguie at googlemail.com
Tue Sep 29 16:50:40 CEST 2009
Hi,
Try opening and closing the device outside the loop,
pdf("D:/research/plot.pdf")
for (i in 1:n) {
plot(mon, mu, type ='o')
}
dev.off()
HTH,
baptiste
More information about the R-help
mailing list