[R] Charts to M$Word - what's the best format

Patrick Connolly p.connolly at hortresearch.co.nz
Tue Apr 15 00:02:45 CEST 2003

On Mon, 14-Apr-2003 at 04:42PM +0200, Carlos Ortega wrote:

|> Hello,
|> Even if you are using a Linux box, you can save your images in png, bmp or
|> jpeg formats which can be uploaded into Word without any problem, well for
|> png you should have installed your Word with that enhancement.
|> If you prefer to save your image as ps, you can convert it to whatever of
|> the previous formats with ImageMagick (command "convert") although the
|> resolution is lower than if you generate the image in png, bmp or jpeg
|> directly.

I'm a little surprised that the bitmap function hasn't come up in this
discussion.  Its default res argument is too small for the purpose in
this discussion, but setting it to about 300 gives quite good results
that can be imported into Word for Windoze provided the machine has
more than 32 Meg RAM (which some people still try to work with).  The
main failing I've seen with it is that conversion of grey lines are
somewhat unsatisfactory, but colour files seem fine, with moderate
amounts of resizing possible.

If the plot is a lattice plot, I find it necessary to use a postscript
file and convert that to a png file using the Gimp with minimal
effort.  AFAIK, ImageMagick will not convert at a high enough
resolution otherwise that would be even simpler.


Patrick Connolly
Mt Albert
New Zealand 
Ph: +64-9 815 4200 x 7188
I have the world`s largest collection of seashells. I keep it on all
the beaches of the world ... Perhaps you`ve seen it.  ---Steven Wright 

More information about the R-help mailing list