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 ? Thanks EJ
On 14 Apr 2003, Ernesto Jardim wrote:> 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 ?I'll assume you are using Word on Windows and not MacOS: Windows MetaFile, or postscript if you have a postscript printer. -- 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
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 ? > > Thanks > > EJ > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help >-- Cheers, Kevin ------------------------------------------------------------------------------ /* Time is the greatest teacher, unfortunately it kills its students */ -- Ko-Kang Kevin Wang Master of Science (MSc) Student SLC Tutor and Lab Demonstrator Department of Statistics University of Auckland New Zealand Homepage: http://www.stat.auckland.ac.nz/~kwan022 Ph: 373-7599 x88475 (City) x88480 (Tamaki)
I think maybe the question is, how do you import postscript format into an M$Word document. I am NOT a word user, but I had to do this some years ago and found that it IS possible to import postscript. You do something like "import picture ... (some kind of generic- sounding graphics format)", and it works fine. The postscript behaves very nicely once you get it in. You have to play around quite a bit, and try some very unlikely sounding possibilities to get it in, but it WILL work. There are definitely some shortcomings in the documentation for M$Word (to put it charitably). Other people will have more recent experience with this than I have. - tom blackwell - u michigan medical school - ann arbor - On 14 Apr 2003, Ernesto Jardim wrote:> 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 ? > > Thanks > > EJ
m?ndagen den 14 april 2003 13.09 skrev Ernesto Jardim: Hello, As a Linux newbie I think a graphics device capable of producing the wmf (windows meta file) format wouldn't hurt - or is this a blasphemy in the Linux society? Fredrik Lundgren > 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 ? > > Thanks > > EJ > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://www.stat.math.ethz.ch/mailman/listinfo/r-help
I'm a Mac OS X user. Is there any way of transferring an R plot or chart to a Mac (or UNIX) graphics program so it can be modified? Cheers, Peter
I found the post by David Brahm on 20 February 2003 to be very helpful for this problem. His suggestion was to use the bitmap() command and specify better color depth and resolution than the default values. You must have ghostscipt installed to take advantage of the bitmap command. Anne ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Anne E. York National Marine Mammal Laboratory Seattle WA 98115-0070 USA e-mail: anne.york at noaa.gov Voice: +1 206-526-4039 Fax: +1 206-526-6615 ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Message: 5 Date: 14 Apr 2003 12:09:44 +0100 From: Ernesto Jardim <ernesto at ipimar.pt> Subject: [R] Charts to M$Word - what's the best format To: Mailing List R <r-help at stat.math.ethz.ch> Message-ID: <1050318584.1343.9.camel at gandalf.ipimar.pt> Content-Type: text/plain 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 ? Thanks EJ