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 do pdf , everything can be exported into one file. But for other devices, each graph is one file. Since I have so many graphs to export, I can't tell which is what from the file names. I was thinking if I can construct a file name for each of the 'print" function then to feed the information to the graphic device to have an informative file name. Is it possible? Thanks. Jun [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see 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.