[R] What is the best way to have "R" output tables in an MS Word format?

Bert Gunter gunter.berton at gene.com
Sat May 1 01:04:10 CEST 2010

odfWeave might be a less daunting option here, as it can output results in
some .doc formats. I have no idea how well tables would survive the
translations, however.

-- Bert 

Bert Gunter
Genentech Nonclinical Statistics

-----Original Message-----
From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-project.org] On
Behalf Of Marc Schwartz
Sent: Friday, April 30, 2010 3:46 PM
To: Max Gunther
Cc: r-help at r-project.org
Subject: Re: [R] What is the best way to have "R" output tables in an MS
Word format?

On Apr 30, 2010, at 5:13 PM, Max Gunther wrote:

> Dear "R" list,
> Our statisticians usually give us results back in a PDF format. I would
> to be able to copy and past tables from "R" output directly into a
> Word table since this will save us tons of time, be more accurate to
> minimize human copying errors and help us update data in our papers more
> easily.
> Do people have suggestions for the best way to do this?
> I am a novice to "R" but I do work with a couple of
> very knowledgeable statisticians who do most of the heavy statistical
> lifting for our research group.
> Many thanks,
> Max


I would urge you to consider using Sweave. It enables the use of R and LaTeX
to facilitate reproducible research, which seems to be your goal here.

You might want to talk to your campus neighbor Frank Harrell, who has
extensive information on the Vanderbilt Biostatistics department web site on


Frank also has some pointers for converting between various formats:



Marc Schwartz

R-help at r-project.org mailing list
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