Re: [R] Transfer Crosstable to Word-Document

From: Udo König <>
Date: Sun, 17 Feb 2008 14:49:00 +0100

(2. attempt to post this)

Quoting Greg Snow <>:

> If your final goal is a word document, then you should look at the odfWeave
> package.

At work my primary goal has to be a word document, because:

My idea is to insert simple tables into Word (what I asked for in this thread) and to make more sohisticated tables -like [1]- with latex and include them as a graphic file. I would NOT like to make such a table with MS-Word! I read an introductory Latex script and asked our admin to install the Miktex package on my computer.

At home I can fortunately do what I want (Windows, Linux, OpenOffice,...).

To the odfWeave package: in [2] I found the sentence "The package is currently limited to creating text documents using OpenOffice". So it doesn´t seem work with MS-Word?

[1] #Taken from:, p. 28


s5 <- summary(drug ~ bili + albumin + stage + protime + sex + age + spiders,

              method="reverse", dta=pbc, test=TRUE)

print(s5, npct="both")

w <- latex(s5, size="smaller", npct="both",
           npct.size="smaller[2]", Nsize="smaller[2]",
           middle.bold=TRUE, landscape=TRUE)

wd <- dvi(w)

[2] R newsletter, Volume 6/4, October 2006, p.3

Udo König
Clinic for Child an Adolescent Psychiatry Philipps University of Marburg / Germany mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Sun 17 Feb 2008 - 14:11:34 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Sun 17 Feb 2008 - 15:30:14 GMT.

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

list of date sections of archive