[R] save the result into a word file

jim holtman jholtman at gmail.com
Fri Jul 3 16:40:56 CEST 2009


One technique that I use a screen capture that you can paste into the
document.  This works nicely since it will also capture the color/size
of the fonts.  Works well for the graphics that you want to include.
If you have MS OneNote, you can use this.  There is a freeware package
(MWSnap) that I also use that works fine.  This also gives you a
resizable image that you can make fit into your Word or PowerPoint
document.

On Fri, Jul 3, 2009 at 10:06 AM, Liviu Andronic<landronimirc at gmail.com> wrote:
> Hello,
>
> On Fri, Jul 3, 2009 at 2:15 PM, Allan Engelhardt<allane at cybaea.com> wrote:
>> 1. Cut-and-paste from the R console.  (Cut-and-paste has got to be the
>> best computer invention ever.)
>>
> First option is probably interesting when using in Word a monospace
> font for R results. For tables, you can also go via copy from R and
> paste in Excel (or OpenOffice Calc), and then switch the table to the
> word processor.
>
>
>> 2. If you want to generate the output automatically from an unattended
>> script, try help("cat") and help("file")
>>
>> 3. Try help("Sweave") for even more automated document production.  Also
>> package "odfWeave" and perhaps "R2HTML"
>>
> >From the HTML options, you can also generate HTML code using xtable or
> Hmisc::html(), and then import the formatted results in Word or Excel.
> Liviu
>
> ______________________________________________
> 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.
>



-- 
Jim Holtman
Cincinnati, OH
+1 513 646 9390

What is the problem that you are trying to solve?




More information about the R-help mailing list