[R] Using {tabularx} latex package with the {xtable} package?

David Winsemius dwinsemius at comcast.net
Fri Feb 3 21:36:43 CET 2012

On Feb 3, 2012, at 2:54 PM, Tal Galili wrote:

> I am trying to solve the problem of having a latex table (produced  
> using
> the xtable <http://cran.r-project.org/web/packages/xtable/ 
> index.html>, then
> inserted to a latex file using Sweave), exceeding the margins of my  
> LaTeX
> document.
> I found that one such solution can be based on the
> tabularx<http://ctan.org/pkg/tabularx> package,
> and I am wondering what would be the best way to implement it (or if  
> there
> is a better solution I am overlooking).
> Right now the only way I am thinking of is to edit print.xtable so  
> it would
> work with the tabularx LaTeX package. Any other suggestions would be  
> most
> welcomed.

It would be more courteous to the rhelp readers if you let them know  
you cross-posted this question on SO:


> 	[[alternative HTML version deleted]]


David Winsemius, MD
West Hartford, CT

More information about the R-help mailing list