Skip to content

Defining different objects within a loop

1 message · Deepayan Sarkar

#
On Thu, Jul 30, 2009 at 3:09 PM, jimdare<jamesdare26 at gmail.com> wrote:
Whats wrong with

pdf(file="foo.pdf")

for (i in splitdf) {
   plot<-xyplot(................)
   print(plot)
}

dev.off()

?

-Deepayan