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

From: Philippe Grosjean <>
Date: Thu, 06 Nov 2008 16:34:06 +0100

Hello Hadley,

I have started this:

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.



  ) ) ) ) )
( ( ( ( ( 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
> mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Thu 06 Nov 2008 - 15:41:41 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Thu 06 Nov 2008 - 16:30:23 GMT.

Mailing list information is available at Please read the posting guide before posting to the list.

list of date sections of archive