Message-ID: <DBB31EDB-1455-11D7-9977-000393678426@cmu.edu>
Date: 2002-12-20T21:14:48Z
From: Hedderik van Rijn
Subject: Sweave & xtable
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.