[R] a question about "latex" in Hmisc
shidaxia at yahoo.com
Thu May 13 21:11:23 CEST 2010
Hi Prof. Harrell,
Originally, I was thinking that by putting tables (especially those long tables) into separate .tex files would make my 'big' .tex file more organized (i.e. rather than having an one giant .tex file). But now I'm having a second thought, b/c I don't really have to worry how my 'big' .tex file looks, as it's just a intermediate and I'll do all my editing in the .Rnw file. So, I think I'll use the latex(x, file="") method more. This also will make my working directory cleaner.
Thank you very much!
----- Original Message ----
> From: Frank E Harrell Jr <f.harrell at vanderbilt.edu>
> To: r-help at r-project.org
> Sent: Wed, May 12, 2010 4:28:20 PM
> Subject: Re: [R] a question about "latex" in Hmisc
> On 05/12/2010 03:33 PM, Shi, Tao wrote:
> Hi Ista,
> for the reply!
> You actually misunderstood me. I never
> objected the "tmp<- latex(x)" method (in fact, that's what I'm doing now in
> my .Rnw file). As I stated in my original post, I'm simply curious about
> what causes the error window and wanted to get to the bottom of
Not clear why the earlier suggestion someone
> made to use latex(object,
file='') is not the method of choice with
> If you would rather have
>> separate file for your table you can continue to
> use your
> original method,
> (not sure what your objection to
> this was in the first place).
Frank E Harrell Jr Professor and Chairman
> School of Medicine
> Department of Biostatistics Vanderbilt
> ymailto="mailto:R-help at r-project.org"
> href="mailto:R-help at r-project.org">R-help at r-project.org mailing list
> href="https://stat.ethz.ch/mailman/listinfo/r-help" target=_blank
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