Dear R gurus, R 2.4.0 under Windows XP.
We have developed several dozen R functions to make and save specialized plots. These use savePlot() to optionally save the plot to files (eps, jpg, png, ...). The thought has come up of putting the functions into an R package. Because savePlot is available only on Windows, we would instead detect the OS and use dev.copy in place of savePlot when not running under Windows. My question is, if this code is rewritten anyway, what are the pros and cons of using dev.copy under *all* operating systems vs. using savePlot on Windows and dev.copy on other platforms? Thanks! -- Mike Prager, NOAA, Beaufort, NC * Opinions expressed are personal and not represented otherwise. * Any use of tradenames does not constitute a NOAA endorsement. ______________________________________________ [email protected] 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.
