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! greg -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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 wordUse emf output on Windows (e.g. win.metafile device) with R 1.2.2. If you want to write a PICT or EMF driver for R under Linux, please contribute it. -- 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 272860 (secr) Oxford OX1 3TG, UK Fax: +44 1865 272595 -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
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. So if I need production quality graphics, I either copy the raw data to my Windows system and re-run it, or just save the intermediate results, then redo the graphics on the Windows machine and save the plots to Windows metafiles. -- znmeb at aracnet.com (M. Edward Borasky) http://www.aracnet.com/~znmeb How to Stop A Folksinger Cold # 2 "Are you going to Scarborough Fair?..." No. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I'm coming into this thread late, and I haven't read all the earlier messages, but I just had to find a way to get R output to TWO different Windows users on the same day. (Never had to do this before.) I finally solved it by using eps output from R. Then I said convert myfile.eps bmp:myfile.bmp which makes something that Windows knows and loves (although it is very big). In one case, it was also necessary to say mogrify -geometry 50%x50% myfile.bmp because the original was too big. The recipients were happy. "Convert" and "mogrify" are part of ImageMagick, which requires many other programs to be installed. This worked on Red Hat Linux 7. ImageMagick also has a function called "display" which is much quicker than any other method of viewing most image files, and if you click somewhere it will give you a nice menu of possible conversions. I think that ImageMagick is also available for Windows. It actually makes use of many other programs installed on the system, such as ghostscript (and I think also the netpbm utilities, which themselves can do a lot of this stuff). I did not try the bitmap output from R itself. Perhaps that would work too. Jon -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> |> > |> 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 possibility is to save the pictures as "eps" (->postscript) and under Windows use ghostview's "Vectorize" function, which can produce quite good wmf/emf output most of the time. (That assumes you have ghostscript/ghostview installed under Windows). ============================================================================Thomas Hoffmann, Institut fuer Halbleiter- und Mikrosystemtechnik, TU Dresden E-mail: hoffmann at ehmgs2.et.tu-dresden.de -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Greg Trafton <trafton at itd.nrl.navy.mil> writes:>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 wordWhy not create a Windows metafile using win.metafile()? I think this functions might be available only in the Windows version of R. Mark -- Mark Myatt -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- 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 _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._