[R] Export R output to Word/RTF?

Don MacQueen macq at llnl.gov
Sat Dec 12 02:12:09 CET 2009


At 6:28 PM -0500 12/11/09, Wenjie Lee wrote:
>Hi R Experts,
>
>I'm aware of pdf(), jpeg(),... functions. But,
>
>1. Is it also possible to export graphs directly to word or RTF? I use to
>copy and paste graphs but resolutions are not so great.

I save graphs as png files, then use Word's Insert Picture (or 
equivalent) command.
(Don't know what you mean by "directly")

>2. Also, is it possible to export your out to word file? I use sink()
>function to export it text files.

I think you can export it to a text file whose name ends with ".doc". 
Then Word will (should?) open it if you double-click on it.

>
>Any suggestions, thanks,
>
>Wenjie Lee
>
>	[[alternative HTML version deleted]]
>
>______________________________________________
>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.


-- 
--------------------------------------
Don MacQueen
Environmental Protection Department
Lawrence Livermore National Laboratory
Livermore, CA, USA
925-423-1062




More information about the R-help mailing list