Re: [R] xtable with Sweave

From: James W. MacDonald <jmacdon_at_med.umich.edu>
Date: Mon, 14 Jun 2010 12:24:09 -0400

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 

______________________________________________
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.
Received on Mon 14 Jun 2010 - 16:31:24 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Mon 14 Jun 2010 - 16:40:32 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-help. Please read the posting guide before posting to the list.

list of date sections of archive