[R] How to feed graphic device (png, jpeg etc) with different files names

2015-07-03 Thread Jun Shen
Dear list, I define a function to export a bunch of plots. A sample code is something like the follow export.plots-function(export.type='pdf',...){ match.fun(export.type) (...) print(plot.func1(...)) print(plot.func2(...)) print(plot.func3(...)) ... print(plot.funcn(...)) dev.off() } If I

Re: [R] How to feed graphic device (png, jpeg etc) with different files names

2015-07-03 Thread Jeff Newmiller
Use dev.off and re-open the device. --- Jeff NewmillerThe . . Go Live... DCN:jdnew...@dcn.davis.ca.usBasics: ##.#. ##.#. Live Go...