[R] Getting R graphics into MS Word

Prof Brian D Ripley ripley at stats.ox.ac.uk
Wed Jul 21 17:13:20 CEST 1999


On Thu, 22 Jul 1999, David Scott wrote:

> On Wed, 21 Jul 1999, tra wrote:
> 
> > I am just downloaded R, and am using it on Windows NT.
> > 
> > I would like to use it to generate graphics, which will be included in
> > Microsoft word or Powerpoint.
> > 
> > The graphics window allows me to save an image as an enhanced metafile.
> > However, if I then insert this image into a Word document, only part of
> > it is visible.
> > Has anyone on the list experience of trying to do this?
> > Do I need to change the graphics options in R or is there a problem with
> > the input filter of Word?
> > 
> I have just been trying this out myself and getting ready to report it.
> Cutting and pasting is fine with bitmaps, but gives incomplete graphs with
> metafile. Saving as gif or metafile then insert picture into Word doesn't
> appear to work either. There is no bug report on this as far as I could
> see.
> 
> I am using rw0.64.1 with Windows 95 V4.0 and Word 97

There is a bug with clipping on that version, I believe. It is cured in
rw0642, so please upgrade.  Guido will be able to give a definitive answer:
this is certainly the solution for gifs. I have found copying a metafile to
the clipboard and pasting into e.g. Word works where saving as a metfaile
does not.


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