[R] dev.print in R 1.7.1

Richard A. O'Keefe ok at cs.otago.ac.nz
Mon Oct 20 23:46:57 CEST 2003


Prof Brian Ripley <ripley at stats.ox.ac.uk> wrote:
	(AFAIK there never was a function save.plot).
	
In R 1.7.1 ?save.plot does in fact list save.plot among the ?Defunct
functions.  In the text, it says

     The new function `dev.print()' should now be used for saving plots
     to a file or printing them.

?dev.print explains
  device: A device function (e.g., `x11', `postscript', ...)
which unfortunately suggests that the argument should be a string,
but the example
     dev.print(device=postscript, ...)
makes all clear.

R on-line documentation is really _very_ good.




More information about the R-help mailing list