[R] ON MAC, how to copy a plot on to Word document?

Adam D. I. Kramer adik-rhelp at ilovebacon.org
Tue Sep 9 00:10:56 CEST 2008


For what it's worth, copy/paste between R and Word 2008 works perfectly. It
doesn't work at all for Word 2004...so that's at least ONE improvement (the
only one I've seen) in versions of Word.

--Adam

On Sun, 7 Sep 2008, Stefan Evert wrote:

>
> On 7 Sep 2008, at 16:57, John Kane wrote:
>
>> I think you need to save the plot and import it into Word.  AFAIK you can 
>> only copy and paste a plot in Windows.
>
> In the R.app GUI, you can click the plot window and then select "Copy" from 
> the "Edit" menu (or press Command-C). You can now past the plot into most Mac 
> applications (e.g. Apple's own iWork suit), but it doesn't work in Word 2004 
> -- so it's really a problem with Word.
>
>> Have a look at ?png  (There are other formats available)
>
> Or, much better, a PDF file by selecting "Save As ..." from the "File" menu 
> (Shift-Command-S). You should then be able to drag and drop the PDF file into 
> Word.
>
> HTH,
> Stefan
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.



More information about the R-help mailing list