[R] Request: in savePlot, type="eps"

Mike Prager Mike.Prager at noaa.gov
Thu Sep 1 23:01:55 CEST 2005


Platform: Windows
R version: 2.1.1

This is a request that in the savePlot function, type="eps" be included 
in the next release. This would be an alias for type="ps" but with a 
different file extension.

Rationale:  The current version of R outputs excellent EPS files.  It is 
strictly correct to call these Postscript files, as EPS is a subset of 
PS.  However, on Windows, files are often distinguished by the file 
extension, and users may have different applications associated with the 
different extensions.  It would be nice to be able to save EPS files 
with the EPS extension.

I realize that this can be accomplished with

file.rename(paste(fn,".ps",sep=""), paste(fn,".eps",sep=""))

but saving directly would be more convenient.

Thanks for considering it.

...Mike Prager




More information about the R-help mailing list