[R] Dump plots to powerpoint?
T.Zumbrunn at unibas.ch
T.Zumbrunn at unibas.ch
Wed Jul 8 10:41:55 CEST 2009
Another suggestion:
Create your presentation with an "OpenDocument Presentation" format
compatible application (e.g. OpenOffice Impress), create the plots
with Sweave chunks, and process the file with odfWeave() (package
odfWeave). If necessary, you can export to other formats such as
PowerPoint.
Best wishes
Thomas Zumbrunn
Quoting Barry Rowlingson <b.rowlingson at lancaster.ac.uk>:
> On Tue, Jul 7, 2009 at 11:32 PM, Ben Bolker<bolker at ufl.edu> wrote:
>>
>>
>> Why not directly generate a large PNG file (which will be much better
>> for line art than JPG anyway)? Or EMF?
>>
>> See http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-misc:export
>>
>> [Of course, this doesn't answer the original question ... to which I
>> suspect the answer is "no".]
>
> So image generation is done, now we want to put them all into a
> presentation (One image per slide? Titles?)
>
> Suggestions:
>
> 1. Dump Powerpoint, learn LaTeX and beamer, your audience will be
> happy. Including a bunch of image files? Trivial.
>
> 2. Dump Powerpoint, use OpenOffice - the OO Impress file is a zip
> file, one file of which is an XML description of the presentation, so
> then you just have to create an XML file a bit like that that
> specifies all your images. You could do this in R. It just needs a bit
> of simple reverse engineering. Create a simple presentation like the
> one you want to do with a few images in, then save, then unzip it,
> figure it out, write a little template (using R's brew package
> perhaps), then write a new XML file with all your images specified,
> zip up, job done. Save it from OpenOffice as a Powerpoint file if you
> really need to use Powerpoint.
>
> 3. Okay, so you really want to use Powerpoint, in which case the
> latest file format (the one with the 'x' at the end) should be some
> kind of XML file which you might be able to reverse engineer in a
> similar way to (2). Good luck with that.
>
> Barry
More information about the R-help
mailing list