[R] PICT output?

Patrick Connolly P.Connolly at hortresearch.co.nz
Sun Apr 1 23:55:44 CEST 2001


According to "M. Edward (Ed) Borasky":
|> 
|> On Fri, 30 Mar 2001, Greg Trafton wrote:
|> 
|> > hi, all.  I use R on a unix (linux) box and am quite happy with it.
|> > However, sometimes I need to create a graph that needs to be used with
|> > Microsoft Word or Powerpoint (ug).  I can create a png or jpeg format
|> > picture, but the text look pretty crummy because jpeg is bitmapped.  I
|> > can also create a PS/EPS version (my preference), but then it doesn't
|> > display properly in word or powerpoint (but it prints OK).
|> >
|> > I guess I have two questions:
|> >   1) Are there any plans for R to output a PICT format?  (which would
|> > solve this problem, I think, since PICT can be read by word/powerpoint
|> > and is not bitmapped).
|> >   2) Is there a way to get an R plot to come out looking good in
|> > powerpoint or word
|> >
|> > thanks for any suggestions!
|> 
|> I've crossed the same bridge; here's what I do:
|> 
|> I have both R for Windows and R for Linux. Since you have Word and
|> PowerPoint, I assume you have Windows :-). I do the analysis on the Linux box
|> and plot "png" files. They are fine for display, but they don't print very well.

It's not necessary to resort to using Windows.  You can improve the
printing quality of a png file by using the bitmap function, and
increasing the res from the default 72 to something like 200.  Your
png file will look fine in PowerPoint.  (It will look huge if you try
to view it in a file viewer, though).  

Another down side is that the type of compression is quite processor
intensive which can make it slow to appear in PowerPoint.  That might
be reason to use WMF instead.

best

Patrick


-- 
*************************************************************
Patrick Connolly
HortResearch                        Great minds discuss ideas;
Mt Albert                           Average minds discuss events; 
Auckland                            Small minds discuss people.
New Zealand                                                 .... Anon
Ph: +64-9 815 4200 x 7188
*************************************************************
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list