[R] saving graphics in a file

Thomas Lumley thomas at biostat.washington.edu
Thu Jun 22 21:41:02 CEST 2000


On Thu, 22 Jun 2000, kienzle marco wrote:

> I tried to save a graphic in a file in the Postscript format but it didn't 
> work (command: postscript(file="blabla",..).
> Does anybody know how to do that.

That isn't how you do it. postscript() starts a postscript driver so that
future graphics commands go to the file instead of the screen.

To print a copy of what is on the screen use dev.print()

	-thomas

Thomas Lumley
Assistant Professor, Biostatistics
University of Washington, Seattle


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