[R] Export a plot/figure to excel or word?

William Dunlap wdunlap at tibco.com
Wed Mar 14 21:04:39 CET 2012


Perhaps using the win.metafile() graphics device (instead of pdf()) would work.

Bill Dunlap
Spotfire, TIBCO Software
wdunlap tibco.com


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On Behalf
> Of R. Michael Weylandt
> Sent: Wednesday, March 14, 2012 12:56 PM
> To: Aurelie Cosandey Godin
> Cc: r-help at r-project.org
> Subject: Re: [R] Export a plot/figure to excel or word?
> 
> Hmmm, that seems an odd request: how could one make a plot in Excel
> natively (excepting ASCII art)?
> 
> Perhaps write and ask them if they can take any image formats? R
> exports to most of them quite nicely: png, eps, jpeg, bitmap, svg,
> etc.
> 
> Michael
> 
> On Wed, Mar 14, 2012 at 3:49 PM, Aurelie Cosandey Godin <godina at dal.ca> wrote:
> > Hi all,
> >
> > I have created forest plots using the package "meta" that I submitted as pdf for
> publication. I just received an email from the editor asking me if I could send these files in
> an Excel or MS Word format such that they can treat them as tables with box plots.
> >
> > I am not sure if I can do this... Is this possible? I've tried the capture.output command,
> but I get a blank MS Word document.
> >
> > Thank you very much in advance,
> > Best,
> >
> > Aurelie
> >
> >
> > Aurelie Cosandey-Godin
> > Ph.D. student, Department of Biology
> > Industrial Graduate Fellow, WWF-Canada
> >
> > Dalhousie University | Biology Dept. | 1459 Oxford Street |Halifax, NS | Canada B3H
> 4R2
> > Phone: 1-902-494-2146 | cell: 1-902-412-3404 |Fax: 1-902-494-3736
> > Email: godina at dal.ca | Skype: aureliegodinco | Web: wormlab.biology.dal.ca
> > ----------------------------------------------------------------------------------------------------------
> ------------------------------------------
> > Want to learn more about sharks in Atlantic Canada? Visit ShARCC!
> www.atlanticsharks.org
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >
> >        [[alternative HTML version deleted]]
> >
> > ______________________________________________
> > R-help at r-project.org mailing list
> > https://stat.ethz.ch/mailman/listinfo/r-help
> > PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> > and provide commented, minimal, self-contained, reproducible code.
> 
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list