[R] Getting R graphics into MS Word

Alvaro A. Novo novo at uiuc.edu
Wed Jul 21 16:18:43 CEST 1999


On Wed, 21 Jul 1999, you 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

I don't use Windows, but it seems to me that you are probably not specifying
the size of your pictures, say, 8cm x 8cm, and R produces by default larger
pictures than would fit in a regular sized MS Word page.

With postscript( ), the way around is to specify width= and height= as
arguments to postscript.

Hope it helps,

Alvaro Novo

 >  > David Scott
>  _________________________________________________________________
> David Scott     Division of Science and Technology, Tamaki Campus
>                 The University of Auckland, PB 92019
>                 Auckland        NEW ZEALAND
> Phone: +64 9 373 7599 ext 6830     Fax: +64 9 308 2377 or 373 7001
> Email:  d.scott at Auckland.ac.nz or dscott at scitec.auckland.ac.nz
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
--
--	--	--	--	--
Alvaro A. Novo
2116-304 S. Orchard St.
Urbana, IL 61801
USA

novo at uiuc.edu (Ph.D. Econ)
(217)337-4893 or (217)369-4872
--	--	--	--	--
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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