[long:] Re: [R] problem with latex of object summary reverse

Philippe Glaziou glaziou at pasteur-kh.org
Tue Jun 17 03:06:58 CEST 2003


A.J. Rossini <rossini at blindglobe.net> wrote:
> Philippe Glaziou <glaziou at pasteur-kh.org> writes:
> > No file file66334873.aux.
> > Underfull \hbox (badness 10000) in paragraph at lines 20--21
> 
> Not an error.

I know, I never said this was an error.


> > [1] (./file66334873.aux)
> > LaTeX Warning: Label(s) may have changed. Rerun to get
> > cross-references right.
> 
> I'm confused.  Is this the error you are talking about
> wanting to fix?


Not at all.

The error is that the 2nd row (with N=...) produced by the
latex command on a summary(...,method='reverse') (Hmisc lib)
object is wrong in the produced tex file (on my systems,
that is, on two different machines with different versions
of Linux Debian, both with the standard tetex distribution).

> summary(y~x,method='reverse')->a

The summary command gives (within the R interface):

+-+-----------------+-----------------+-----------------+
| |a                |b                |c                |
| |(N=27)           |(N=38)           |(N=35)           |
+-+-----------------+-----------------+-----------------+
|x|0.474/0.548/0.724|0.261/0.446/0.626|0.284/0.591/0.853|
+-+-----------------+-----------------+-----------------+


> latex(a)->la 

This command produces a tex file which, once compiled, looks
like this: (the same command without the ->la part results
in an immediate compilation of a temp file, followed by a
call to xdvi, and shows the same problem)

+-------+-----------------+-----------------+-----------------+
|       |a                |b                |c                |
|(N=27) |(N=38)           |(N=35)           |                 |
+-------+-----------------+-----------------+-----------------+
|x      |0.474/0.548/0.724|0.261/0.446/0.626|0.284/0.591/0.853|
+-------+-----------------+-----------------+-----------------+

My previous message pointed out the wrong code on the tex
file. I understand that I am the only person having such a
problem, and I am really wondering about what is wrong with
my two systems, one of which is really a linux debian out of
the box. This problem is truly annoying because I want to use
these features in an automated way with Sweave.

I am really sorry for bothering the list with this.

-- 
Philippe




More information about the R-help mailing list