[R] Charts to M$Word - what's the best format
Prof Brian Ripley
ripley at stats.ox.ac.uk
Mon Apr 14 14:00:27 CEST 2003
On 14 Apr 2003, Ernesto Jardim wrote:
> You're also assuming I'm in M$Windows, which I'm not. Anyway if I'm in
How do use use bmp if you are not? Perhaps you would be so kind as to
- What platform you are using R on?
- What platform you are using MicroSoft Word on?
and in future disclose such information in your first posting.
> windows that is the best way ? What about exporting with R functions
> like png() ?
> I thought these functions would be the best way of exporting charts.
You assert, but you don't explain why and you don't like the results! If a
`chart' means a vector plot, it is pretty obvious that a vector graphics
format is best, and that means EMF, ps, PDF or SVG in the world of R
graphics drivers. AFAIK Word does not support the last two.
> On Mon, 2003-04-14 at 13:22, Ko-Kang Kevin Wang wrote:
> > Try Metafile. You can copy the graph (I'm assuming you're using Rgui) as
> > Metafile, then in Word, go to Edit -> Paste Special..., then paste as
> > Enhanced Metafile.
> > This allows you to resize the plot in Word without losing its quality.
> > On 14 Apr 2003, Ernesto Jardim wrote:
> > > Date: 14 Apr 2003 12:09:44 +0100
> > > From: Ernesto Jardim <ernesto at ipimar.pt>
> > > To: Mailing List R <r-help at stat.math.ethz.ch>
> > > Subject: [R] Charts to M$Word - what's the best format
> > >
> > > Hi
> > >
> > > I'm exporting some graphs from R to M$Word. I used png, jpeg and bmp and
> > > the quality is poor when comparing with the postscript.
> > >
> > > What is the best way to export a chart to be included in a M$Word file ?
Brian D. Ripley, ripley at stats.ox.ac.uk
Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/
University of Oxford, Tel: +44 1865 272861 (self)
1 South Parks Road, +44 1865 272866 (PA)
Oxford OX1 3TG, UK Fax: +44 1865 272595
More information about the R-help