Re: [R] Custom LaTeX tables

From: Dieter Menne <>
Date: Tue, 26 Feb 2008 16:08:30 +0000 (UTC)

Werner Wernersen <pensterfuzzer <at>> writes:

> I am very happy that I have Sweave and R to write my
> papers. But I still have to do some tables by hand
> since I have not found out how I can customize the
> latex tables produced by R further (I mainly use
> xtable()). Like for instance, I have a table which
> needs an extra row every few rows as a group header
> and sometimes I want some extra horizontal lines in
> the table and also a multicolumn heading.

Use latex in package Hmisc, it is very powerful and has options to do what you need. And if something is missing, you can plug in your own table handling such as I did quick and very dirty for ftable:

Dieter mailing list PLEASE do read the posting guide and provide commented, minimal, self-contained, reproducible code. Received on Tue 26 Feb 2008 - 16:10:58 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 Tue 26 Feb 2008 - 17:30:16 GMT.

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

list of date sections of archive