R.utils (version 1.4.0)

eps: EPS graphics device

Description

Device driver for Encapsulated Postscript. This driver is the same as the postscript driver where some arguments have different default values.

Usage

eps(file="Rplot%03d.eps", horizontal=FALSE, paper="special", ...)

Arguments

file
Default file name (pattern).
horizontal
If FALSE, an horizontal EPS file is created, otherwise a portrait file is created.
paper
A character string specifying the paper type. Overrides the default of postscript().
...
Other arguments accepted by postscript().

Value

  • A plot device is opened; nothing is returned.

See Also

postscript.

Examples

Run this code
eps("foo.eps")

   # is identical to

   postscript("foo.eps", onefile=TRUE, horizontal=FALSE)

   # and

   dev.print(eps, "foo.eps")

   # is identical to

   dev.print(postscript, "foo.eps", onefile=TRUE, horizontal=FALSE, paper="special")

Run the code above in your browser using DataCamp Workspace