[R] Graphs in Windows 95/95

Prof Brian D Ripley ripley at stats.ox.ac.uk
Thu Mar 2 08:06:39 CET 2000

On Thu, 2 Mar 2000, Maurizio Pisati wrote:

> Dear R-Listers,
> I'm a new R user and I've got some problems with copying/saving graphs in
> Windows Metafile Format.
> If I copy a graph from the R window (in Enhanced Metafile Format) and then
> paste it in WinWord 95, then everything is fine, apart from the fact that
> a) lines become a little bit thicker when the graph is printed; and b)
> dotted lines loose a little bit of resolution.
> However, if I copy a graph from the R window (still in Enhanced Metafile
> Format) and then paste it in a (vectorial) drawing program for "manual"
> restyling, then something always goes wrong (e.g., typically some elements
> get lost). Exactly the same happens when I save a graph in Enhanced
> Metafile Format and then import the saved graph in Word or in a drawing
> program.
> Does anyone have experience with this problem? Isn't there any chance to
> save graphs in plain Windows Metafile Format (as opposed to Enhanced
> Metafile Format), which maybe creates less problems?
> Thank you very much for your help and best regards,
> Maurizio Pisati

Yes, there have been reports here about it, Are you sure the elements 
get lost?  Last time we had this report it transpired that Word was
not displaying them, but if you enlarged a preview or printed the document,
it behaved perfectly correctly.  The problem seems to be that thin lines
(and lines on a plot designed to fill a page will be thin) were being
lost in the anti-aliasing of the screen display.

There is no option to save in non-enhanced Metafile. However, the source
code is available and R is a collaborative project, so why not write one
and contribute it?

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

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