eps: EPS graphics device

Description Usage Arguments Value Author(s) See Also Examples

View source: R/eps.R

Description

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

Usage

1
2
eps(file="Rplot%03d.eps", width=7, height=7, horizontal=FALSE, paper="special",
  onefile=FALSE, ...)

Arguments

file

Default file name (pattern).

width, height

The width and height of the figure.

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().

onefile

Not used.

...

Other arguments accepted by postscript().

Value

A plot device is opened; nothing is returned.

Author(s)

Henrik Bengtsson

See Also

This is just a convenient wrapper for postscript with the proper arguments set to generate an EPS file.

It is recommended to use toEPS() instead.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
## Not run: 
  eps("foo.eps", width=7, height=7)

  # is identical to

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

  # and

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

  # is identical to

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

## End(Not run)

R.devices documentation built on Oct. 30, 2019, 10:58 a.m.