[R] Exporting R graphs

Tito de Morais Luis Luis.Tito-de-Morais at ird.sn
Tue Aug 26 17:02:41 CEST 2003

I use jpeg or png to export my graphs and I can edit them with "the
gimp" and add anything to them. I can then export them into several
formats, or open the jpeg file with openoffice.

As Thomas suggests you can also use xfig.
xfig can also export its graphs to many other formats.

see ?jpeg
and http://www.gimp.org



Le mar 26/08/2003 à 16:25, Thomas Lumley a écrit :
> On Tue, 26 Aug 2003 ucgamdo at ucl.ac.uk wrote:
> >
> > 1. In windows, I could copy the contents of a window graphic's device as a
> > windows metafile, and then I could paste the metafile into OpenOffice draw.
> > The advantage of doing this is that I could then manipulate my graph as a
> > vector object and get absolute control of every line, point, etc. I could
> > also paste several graphs in the same page and resize them arbitrarily,
> > which is a lot nicer than using the screen.split() or frame() functions in
> > R. Is there any equivalent method I could use to get R graphics into
> > OpenOffice draw in linux?, keeping the same functionality of course.
> You can't cut-and-paste or use Windows metafiles under Linux.  You may be
> able to get resizable graphs with pdf() or postscript(), but you won't be
> able to get that sort of editing control.  Another possibility is xfig(),
> which produces graphs that can be edited in xfig. I don't know if
> OpenOffice knows about xfig formats (or about SVG, which R can also
> produce).
> 	-thomas

L. Tito de Morais
      UR RAP
   IRD de Dakar
      BP 1386

Tél.: + 221 849 33 31
Fax: +221 832 16 75
Courriel: tito at ird.sn

More information about the R-help mailing list