Useful Stuff in R:

Inserting Latex Tables into Microsoft Word

Theresa A Scott, M.S.; Biostatistician II
Department of Biostatistics, Vanderbilt University School of Medicine

The tables generated by Latex are quite nice, because of their formatting and ease of creation. I was able to figure out how to generate an encapsulated post-script file containing the created Latex table, which can then be inserted into Microsoft Word.

The attached pdf file takes you step-by-step through the process. The attached text file (.txt) contains the sample data file I used. And the attached R code file (.R) contains the R code seen in the pdf file, which you can copy, paste, and modify for your own use.

NOTE:
The information in the pdf and R code files will most likely be updated from time to time as I figure out a more efficient process.
Topic attachments
I Attachment Action Size Date Who Comment
epstables.RR epstables.R manage 1.9 K 05 Nov 2004 - 11:15 TheresaScott R code of step-by-step process
epstables.pdfpdf epstables.pdf manage 64.2 K 05 Nov 2004 - 11:13 TheresaScott Step-by-step Process
sampledata.txttxt sampledata.txt manage 0.8 K 05 Nov 2004 - 11:14 TheresaScott Sample data file
Edit | Attach | Print version | History: r4 < r3 < r2 < r1 | Backlinks | View wiki text | Edit WikiText | More topic actions...
Topic revision: r1 - 05 Nov 2004, TheresaScott
 

This site is powered by FoswikiCopyright © 2013-2022 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding Vanderbilt Biostatistics Wiki? Send feedback