[R] Including graphics files in MS office / open office

hadley wickham h.wickham at gmail.com
Thu Nov 6 17:17:06 CET 2008


Hi Phillippe,

Thanks for the pointer.  It looks like a nice resource.

Hadley

On Thu, Nov 6, 2008 at 9:34 AM, Philippe Grosjean
<phgrosjean at sciviews.org> wrote:
> Hello Hadley,
>
> I have started this:
> http://wiki.r-project.org/rwiki/doku.php?id=tips:graphics-misc:export.
>
> One solution that works not too bad in OpenOffice is to output the graph in
> XFig format, and then use fig2dev from transfig to get an EMF file. That one
> is rather well readable by OpenOffice. There are some limitations of XFig
> with R graphs, see ?xfig.
>
> Best,
>
> Philippe
> ..............................................<°}))><........
>  ) ) ) ) )
> ( ( ( ( (    Prof. Philippe Grosjean
>  ) ) ) ) )
> ( ( ( ( (    Numerical Ecology of Aquatic Systems
>  ) ) ) ) )   Mons-Hainaut University, Belgium
> ( ( ( ( (
> ..............................................................
>
> hadley wickham wrote:
>>
>> Hi all,
>>
>> I'm trying to write up some recommendations for what graphics formats
>> are most useful for inclusion into ms office and openoffice.  There
>> have been a few discussions on the list in the past, but I haven't
>> seen a summary.  These are the options I've seen so far, along with
>> there costs and benefits:
>>
>>  * high-resolution (600-dpi) png output (or tiff or jpg or other
>> raster format).  The main disadvantage is that it's a raster format,
>> so you need to know the eventual output size.
>>
>>  * windows metafile: works well in MS office, but does not support
>> transparency.  Can only be produced on windows, and openoffice support
>> isn't great
>>
>>  * encapsulated postscript: supported by both MS office and open
>> office, but won't display a preview image unless you add one with an
>> external program.  Prints fine.
>>
>>  * svg: R output devices still experimental and open office import
>> still experimental.  No support in ms office.
>>
>> Have I missed anything?  Is the information correct?
>>
>> Hadley
>>
>



-- 
http://had.co.nz/



More information about the R-help mailing list