[R] getting line breaks with xtable

Gabor Grothendieck ggrothendieck at gmail.com
Fri Sep 19 15:49:31 CEST 2008

Read the last line to every message to r-help to find out
one reason you may be getting no responses.

On Fri, Sep 19, 2008 at 9:39 AM, Erich Studerus
<erich.studerus at bli.uzh.ch> wrote:
> Sorry, for asking the same question again, but I got no reactions the last
> time. Maybe it was just overseen by the experts.
> I'm using the xtable function with Sweave and Lyx and I would like to know
> how to get automatic line breaks for long strings in a column of the table.
> I've learned from the Lyx wiki that the Latex command \linebreak produces
> table cells with multiple lines. I tried to insert \linebreak into the
> character string, but it didn't work out, because Sweave transforms it
> automatically to $\backslash$linebreak.
> Any help is highly appreciated.
> Erich
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.

More information about the R-help mailing list