[R] Dump plots to powerpoint?

Bengoechea Bartolomé Enrique (SIES 73) enrique.bengoechea at credit-suisse.com
Wed Jul 8 12:39:40 CEST 2009


Hi,

On windows, you can use a COM client (with packages like rcom or RDCOMClient) to control powerpoint from R and insert the generated image using powerpoint's object model. You can either use the clipboard or an intermediate image file saved to disk.

Not hard to do, but this seems to be already implemented in package RPPT recently released to CRAN, so have a look at it: http://stat.ethz.ch/CRAN/web/packages/R2PPT/index.html

About the image format, using windows metafiles allows you to double-click the image in powerpoint, "ungroup", and then edit each of its components (text, lines, etc.)

Regards,

Enrique
 

------------------------------

Date: Tue, 7 Jul 2009 13:38:48 -0700 (PDT)
From: Thomas <aiktocke at yahoo.com>
Subject: [R] Dump plots to powerpoint?
To: r-help at r-project.org
Message-ID: <254923.51562.qm at web110511.mail.gq1.yahoo.com>
Content-Type: text/plain

Hi,

Is it possible to dump a series of plots directly into a powerpoint presentation (as is possible in Splus)?

Thank you,
Thomas



      
	[[alternative HTML version deleted]]




More information about the R-help mailing list