Re: [R] jpeg device loop problem

2009-08-24 Thread David Winsemius
On Aug 24, 2009, at 8:19 PM, AllenL wrote: Dear R gurus, Trying to loop a graphing function and output a jpeg file each loop. It works fine for a single run (ie. not looping) but when I loop the output is nothing but white space. Here is my code, somewhat abridged: { jpeg(filename=<"na

[R] jpeg device loop problem

2009-08-24 Thread AllenL
Dear R gurus, Trying to loop a graphing function and output a jpeg file each loop. It works fine for a single run (ie. not looping) but when I loop the output is nothing but white space. Here is my code, somewhat abridged: { jpeg(filename=<"name for this loop.jpeg">) xyplot(AbvBioAnnProd~Ye