[R] savePlot without displaying it

Ott Toomet siim at obs.ee
Fri May 31 10:00:11 CEST 2002


On Thu, 30 May 2002, Nolwenn Le Meur wrote:

  |I would like to save a plot without opening the device window (no display).
  |Is it possible ? How can I do it ?

which format do you want to use?  Generally, it is simple.  You just open
the corresponding device (not display window), e.g.

postscript(file="myfile.ps", ...options...)
plot( whatever you want to plot )

Now the plot is saved into the postscript file and nothing happens on the
screen.  The available devices depend on your installation, look ?Devices.


r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch

More information about the R-help mailing list