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

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

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
>



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. 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 https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive