[R] Followup: copy-paste graphics from R to Word on Mac OS X
matthew_wiener at merck.com
Thu Mar 6 19:50:03 CET 2003
I've found Word imports png pretty well. David Brahm recently suggested
playing with the resolution and so on -- you could look it up in the mail
list archives -- but I've gotten acceptable results (on simple graphs) with
Hope this helps,
From: Eric Fruits [mailto:fruits at portland.econw.com]
Sent: Thursday, March 06, 2003 1:09 PM
To: r-help at stat.math.ethz.ch
Subject: [R] Followup: copy-paste graphics from R to Word on Mac OS X
After trying numerous options, I'm just about at my wits end.
The most frequent suggestion was to export to a postscript or PDF file
and import that into Word.
However, no matter what I did or how I did it, the results were
extraordinarily ugly and somewhat time-consuming.
What I've tried so far:
1. Copy and paste from the R graphics output window into Word (in Mac
OS X), this is the worst result.
2. Use pdf() to create a pdf file, then import (Insert | Picture |
From File ...) into Word. This generated the second-worst results.
Note, that if I print the .pdf file without importing, the results are
3. Use pdf() to create a pdf file, use MacGSView to convert to .tiff,
then import into Word. This provided the third-worst results. Note
that the .tiff file is jaggy too.
4. Use pdf() to create a pdf file, use the full-blown version of
Acrobat to convert to .tiff, then import into Word. This provided the
best, but still ugly results. Note that the .tiff file is jaggy too.
It is conceivable that this is a Mac OS X problem, but I'm not
convinced considering how well it handles other graphics.
Any suggestions are appreciated.
Begin forwarded message:
> From: Eric Fruits <fruits at portland.econw.com>
> Date: Fri Feb 21, 2003 10:32:52 AM US/Pacific
> To: r-help at lists.R-project.org
> Subject: Copy-paste graphics from R to Word on Mac OS X
> I'm (very) new to R.
> One of the features of R that I really like is R's ability to
> generate very good looking graphics. However, I've noticed that when
> I attempt to copy and paste the graphs from the R graphics output
> window into Word (in Mac OS X), the resulting picture is very jaggy.
> I'm aware of the various options such as dev2bitmap, but I'd really
> like to be able to do a quick copy and paste without switching among
> various applications or creating extraneous files.
> Eric Fruits, Ph.D.
> Senior Economist & Project Manager
> ECONorthwest - Portland
R-help at stat.math.ethz.ch mailing list
More information about the R-help