On Tue, Jul 12, 2011 at 2:01 PM, Reith, William [USA] <reith_will...@bah.com> wrote: > Do I need to define x in any way before I do the loop?
No, you should not need to define x explicitly. Just pass the data frame you want to qplot. David was absolutely right though that inside a loop, you should wrap the call to qplot() in print(). Slipped my mind (so follow his example). Josh > > Sent from my Verizon Wireless 4GLTE smartphone ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.