Skip to content
Prev 26905 / 63434 Next

Defaults for postscript()

On 06/12/2007, Marc Schwartz <marc_schwartz at comcast.net> wrote:
I would like to suggest the following wrapper:

eps <- function(file="Rplot%03d.eps", horizontal=FALSE, paper="special", ...) {
  postscript(file=file, onefile=FALSE, horizontal=horizontal, paper=paper, ...);
}

That separates the use case of creating EPS files and "regular"
postscript files allow each of eps() and postscript() to have their
own default values.

/Henrik