Hi Ista, Thanks! I missed that.
...Tao ---------------------------------------- > From: istaz...@gmail.com > Date: Fri, 26 Feb 2010 17:48:32 -0500 > Subject: Re: [R] wrap long lines in table using "latex" in Hmisc > To: shi...@hotmail.com > CC: r-help@r-project.org > > Hi Tao, > Just set the appropriate *.just argument, e.g.: > > Dat <- data.frame(x1 = rep("this value consists of a long string of > text", 5), x2 = rep("this value consists of an even longer string of > text", 5)) > > library(Hmisc) > latex(Dat, col.just = rep("p{1in}", 2)) > > You can also set justification for column headings, column group > headings etc. See ?latex for details. > > Best, > Ista > > > On Fri, Feb 26, 2010 at 3:37 PM, Tao Shi wrote: >> >> Hi list, >> >> Is there a way to control long-line wrapping in a table using "latex" >> function in Hmisc or any other functions? It seems I can't find any >> examples. >> [[elided Hotmail spam]] >> >> >> ...Tao >> >> _________________________________________________________________ >> Hotmail: Trusted email with Microsoft’s powerful SPAM protection. >> >> ______________________________________________ >> R-help@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. >> > > > > -- > Ista Zahn > Graduate student > University of Rochester > Department of Clinical and Social Psychology > http://yourpsyche.org _________________________________________________________________ Hotmail: Powerful Free email with security by Microsoft. ______________________________________________ R-help@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.