I'm trying to get Sweave running for automatic report generation, and it seems to run fine when just using verbatim output. However, I've ran into a problem with xtable. I would like to print the following matrix using xtable:
> dim(counts)
[1] 19 15
All columns are filled with real/integer numbers > 0 and < 1000. Just typing xtable(counts) gives correct LaTeX output, but running Sweave on:
<<results=tex>>=
library(xtable)
xtable(counts)
@
Generates truncated TeX output:
% latex table generated in R 1.6.1 by xtable 1.0-10 package
% Fri Dec 20 14:50:08 2002
\begin{table}
[...]
5 & 105.00 & 400.00 & 0.00 & 0.00 & 0.00 & 0.00 & 1000.00 & 542.00 & 181.00 & 858.00 & 4
62.00 & 103.00 & 744.00 & 449.00 & 93.00 \\
6 & 201.00 & 400.00 & 0.00 &
xtable(counts[1:4,]) does work. Do I have to flush the output of xtables in some way? Or is my table just too large?
- Hedderik.
______________________________________________
[EMAIL PROTECTED] mailing list
http://www.stat.math.ethz.ch/mailman/listinfo/r-help
- Re: [R] Sweave & xtable Hedderik van Rijn
- Re: [R] Sweave & xtable A.J. Rossini
- Re: [R] Sweave & xtable [problem solved/workar... Hedderik van Rijn
- Re: [R] Sweave & xtable [problem solved/wo... ripley
- Re: [R] Sweave & xtable [problem solve... Hedderik van Rijn
- Re: [R] Sweave & xtable [problem s... Peter Dalgaard BSA
- Re: [R] Sweave & xtable [prob... Peter Dalgaard BSA
- Re: [R] Sweave & xtable [... Hedderik van Rijn
- Re: [R] Sweave & xtab... ripley
- [R] Sweave & xtable michaell taylor
- Re: [R] Sweave & xtable Thomas Lumley
