Re: [R] Extracting R plots from MS Word

From: Gabor Grothendieck <ggrothendieck_at_gmail.com>
Date: Fri 30 Jun 2006 - 10:24:47 EST

I think these are zipped emf and wmf files. Google for emz extension.

On 6/29/06, maj@stats.waikato.ac.nz <maj@stats.waikato.ac.nz> wrote:
> Thanks to all those who responded to my request about extracting R plots
> from MS Word. I decided to try Gabor Grothendieck's second suggestion and
> saved the Word document as html. (I may yet try some of the other
> suggestions.)
>
> Saving the .doc as .htm indeed produced a folder with many of the images
> in .gif form. However some of my images seemed to be described by files
> with .wmz or .emz extensions. I am not quite sure how to change these into
> .gif or .eps or anything useful!
>
> Cheers, Murray Jorgensen
>
> > Click the graphic, press ctrl-C to copy it to the clipboard and then
> > using ctrl-V paste it into mspaint or Xnview (free, find it via google) or
> > other
> > graphics program and then save it from there. Which program will
> > work will depend on the format of the image.
> >
> > Another possibility is to save the Word file in HTML format. In
> > Word, choose File | SaveAs and choose the Save As Type to be Web Page.
> > That will create an HTML file plus it will create a folder with
> > one file per image.
> >
> > On 6/29/06, maj@stats.waikato.ac.nz <maj@stats.waikato.ac.nz> wrote:
> >> Hi,
> >>
> >> I am revising a paper that I am a co-author of. The figures are plots
> >> generated from R but at the moment I do not have the R code that
> >> generates
> >> them.
> >>
> >> As this is time critical I would like to slightly abuse the list by
> >> asking
> >> whether anyone knows how to extract from MS Word into a stand-alone
> >> graphics file a plot that was pasted into Word from R (probably as a
> >> Windows Metafile, but possibly as a bitmap).
> >>
> >> I would be very grateful for help with this.
> >>
> >> Regards, Murray Jorgensen
> >>
> >> ______________________________________________
> >> R-help@stat.math.ethz.ch mailing list
> >> https://stat.ethz.ch/mailman/listinfo/r-help
> >> PLEASE do read the posting guide!
> >> http://www.R-project.org/posting-guide.html
> >>
> >
>
>
>



R-help@stat.math.ethz.ch mailing list
https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html Received on Fri Jun 30 11:38:45 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Fri 30 Jun 2006 - 22:14:04 EST.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.