Re: [R] getting line breaks with xtable

2008-09-19 Thread Marc Schwartz
} \end{table} HTH, Marc Schwartz on 09/19/2008 09:11 AM Erich Studerus wrote: > Ok. Sorry, here's a reproducible example: > > library(xtable) > x<-as.table(cbind(1:3,rep("this is an example for a long character string > that I want break into several lines"))) > xtable(x) &

Re: [R] getting line breaks with xtable

2008-09-19 Thread Gabor Grothendieck
gt; > Regards > > Erich > > > -Ursprüngliche Nachricht- > Von: Gabor Grothendieck [mailto:[EMAIL PROTECTED] > Gesendet: Freitag, 19. September 2008 15:50 > An: Erich Studerus > Cc: r-help@r-project.org > Betreff: Re: [R] getting line breaks with xtable > > Read

Re: [R] getting line breaks with xtable

2008-09-19 Thread Erich Studerus
OTECTED] Gesendet: Freitag, 19. September 2008 15:50 An: Erich Studerus Cc: r-help@r-project.org Betreff: Re: [R] getting line breaks with xtable 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

Re: [R] getting line breaks with xtable

2008-09-19 Thread Gabor Grothendieck
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 <[EMAIL PROTECTED]> wrote: > Sorry, for asking the same question again, but I got no reactions the last > time. Maybe it was just overseen by the ex

[R] getting line breaks with xtable

2008-09-19 Thread Erich Studerus
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 Ly