Re: [R] Output and Word

From: Greg Snow <>
Date: Wed 19 Jul 2006 - 02:39:11 EST

Others have suggested using R2HTML (which is a good option).

Another option is to use Sweave and specifically the new odfWeave package for R. This works on OpenOffice files rather than word files
(but OpenOffice can inport and export word

The basic idea is to write your report in OpenOffice (or LaTeX or HTML), but anywhere that you want statisticial output (graphs, tables) you include instead the R code to produce the table, graph, or whatever. Run this file through R (using Sweave or odfWeave) and the resulting file has replaced all the code segments with their output.

The documentation with odfWeave has examples.

Hope this helps,

Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare

(801) 408-8111
-----Original Message----- From: [] On Behalf Of sharon snowdon Sent: Monday, July 17, 2006 2:36 PM To: Subject: [R] Output and Word Hi I have just started to have a look at R. I have used most stats software packages and can use perl, visual basic etc. I am interested in how well it handles lots of output e.g. tables or charts. How would you get lots of output most easily and quickly into a Word document? Sharon Snowdon ------------------------------------------------------------------------ - -- ______________________________________________ mailing list PLEASE do read the posting guide! ______________________________________________ mailing list PLEASE do read the posting guide! and provide commented, minimal, self-contained, reproducible code.
Received on Wed Jul 19 02:55:44 2006

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.1.8, at Wed 19 Jul 2006 - 20:17:51 EST.

Mailing list information is available at Please read the posting guide before posting to the list.