[R] xtable with Sweave
James W. MacDonald
jmacdon at med.umich.edu
Mon Jun 14 18:24:09 CEST 2010
Hi Silvano,
Silvano wrote:
> Hi,
>
> I'm using Sweave to prepare a descriptive report.
> Are at least 20 tables built with xtable command of kind:
>
> <<echo=F, results=hide>>=
> q5 = factor(Q5, label=c("Não", "Sim"))
> (q5.tab = cbind(table(q5)))
> @
>
> <<echo=F, results=tex>>=
> xtable(q5.tab, align="l|c", caption.placement = "top", table.placement='H')
> @
>
> I'm getting the following message:
>
> Too many unprocessed floats
>
> in Latex file.
>
> How to avoid these messages appearing?
Not really an R-help question, and easily answered using our friend google.
Anyway, you need to cause the floats to be processed before you have
'too many'. This is done by adding a \clearpage to the LaTeX portion of
your document every so often.
Best,
Jim
>
> --------------------------------------
> Silvano Cesar da Costa
> Departamento de Estatística
> Universidade Estadual de Londrina
> Fone: 3371-4346
>
> ______________________________________________
> R-help at 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.
--
James W. MacDonald, M.S.
Biostatistician
Douglas Lab
University of Michigan
Department of Human Genetics
5912 Buhl
1241 E. Catherine St.
Ann Arbor MI 48109-5618
734-615-7826
**********************************************************
Electronic Mail is not secure, may not be read every day, and should not be used for urgent or sensitive issues
More information about the R-help
mailing list