[R] Save generic plot to file (before rendering to device)

peter dalgaard pdalgd at gmail.com
Sun Jul 17 14:14:53 CEST 2011


On Jul 11, 2011, at 22:08 , Greg Snow wrote:

> Note the warning on the help page for recordPlot.  If your colleague is using a different version of R than you there could be problems.

Also notice that the process isn't perfect, as people occasionally discover when they use dev.copy() and its relatives like dev.print() or dev.copy2pdf(). Some thing are just hopelessly dependent on the current device and its current parameters. The most obvious case is if you have a text string and a rectangle just big enough to contain it. Different device, different font metrics, etc....

-- 
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-help mailing list