Hi, I'm creating a lot of tables in a file for inclusion in a Latex document. When I try to compile that document there is an error "too many unprocessed floats." Is there a way to correct this? Also, in a Latex table I want R to put in a $\beta$ in the caption, but it puts a weird system character instead of the \b Brian -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Brian Scholl wrote:> > Hi, I'm creating a lot of tables in a file for inclusion in a Latex > document. When I try to compile that document there is an error "too many > unprocessed floats." Is there a way to correct this? > > Also, in a Latex table I want R to put in a $\beta$ in the caption, but it > puts a weird system character instead of the \bThe question is how you tried to do it (and you are not very specific in your question). I guess you forgot to double the backslashes - and double doubled ones, depending on the way evaluation takes place... Uwe Ligges -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
This is a latex faq. In German there is an answer at: http://www.dante.de/faq/de-tex-faq/html/makros2.html#8 ..look arount the internet and find the english equivalent! P. On Fri, Aug 23, 2002 at 09:59:33AM +0200, Brian Scholl wrote:> Hi, I'm creating a lot of tables in a file for inclusion in a Latex > document. When I try to compile that document there is an error "too many > unprocessed floats." Is there a way to correct this? > > Also, in a Latex table I want R to put in a $\beta$ in the caption, but it > puts a weird system character instead of the \b > > > Brian > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._-- P.Malewski, Limmerstr.47, 30451 Hannover, 0511-2135008 At work: http://www.MH-Hannover.de 0511 532 3194 / Fax: 0511 532 3190, P.Malewski at tu-bs.de, peter.malewski at gmx.de, malewski.peter at mh-hannover.de. -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
I believe this is a LaTeX related problem and not a problem with [R]/xtable. The reason is that LaTeX tries to place the floats (tables and images) where they best fit and if they not fit very well they are placed at the end of the document. This is often happens if the images/tables are big. If there are too many of badly placed floats you will the kind of error message you are reporting. First, try to add the options h - here, t - top, b - bottom, i.e. \begin{table}[htb]. It might help. Secondly, you can specify the page region where floats are allowed to be placed. Here is an example that I once used: % Define where floats (figures, tables etc) can be place. % For more information see: % % http://www.cs.ruu.nl/~piet/floats/node1.html % % Max fraction of page for floats at top (default 0.7) \renewcommand{\topfraction}{0.95} % Max fraction of page for floats at top (default 0.7) \renewcommand{\bottomfraction}{0.95} % Min fraction of page for text (default 0.2) \renewcommand{\textfraction}{0.05} % Min fraction of floatpage that should have floats (default 0.5) \renewcommand{\floatpagefraction}{0.35} % Max number of floats at top of page (default 2) \setcounter{topnumber}{3} % Max number of floats at bottom of page (default 1) \setcounter{bottomnumber}{3} % Max number of floats on a page (default 3) \setcounter{totalnumber}{6} Finally, you can alway use brute force and add \newpage between some of the tables to help LaTeX. Not very nice, but it often works. Henrik Bengtsson Dept. of Mathematical Statistics @ Centre for Mathematical Sciences Lund Institute of Technology/Lund University, Sweden (+2h UTC) +46 46 2229611 (off), +46 708 909208 (cell), +46 46 2224623 (fax) h b @ m a t h s . l t h . s e, http://www.maths.lth.se/~hb/ On Fri, 23 Aug 2002, Brian Scholl wrote:> Hi, I'm creating a lot of tables in a file for inclusion in a Latex > document. When I try to compile that document there is an error "too many > unprocessed floats." Is there a way to correct this? > > Also, in a Latex table I want R to put in a $\beta$ in the caption, but it > puts a weird system character instead of the \b > > > Brian > > -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- > r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html > Send "info", "help", or "[un]subscribe" > (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch > _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._ >-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
On Fri, 23 Aug 2002, Brian Scholl wrote: |Hi, I'm creating a lot of tables in a file for inclusion in a Latex |document. When I try to compile that document there is an error "too many |unprocessed floats." Is there a way to correct this? This is not really xtable but latex problem. It means latex keeps on collecting new tables (end figures) but do not have a suitable page to put them on. You may consider \clearpage (and perhaps package afterpage) somewhere to force the tables to be printed. Check the placement options on the \begin{table}[htbp], specially p option should help (it puts a float on a separate sheet, althoug I think it is default). | |Also, in a Latex table I want R to put in a $\beta$ in the caption, but it |puts a weird system character instead of the \b you should write "$\\beta$" Ott -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
Is there a (cross-platform) sleep/pause/wait function in [R]? I want to poll a file once in a while to see if and external process is ready. Between each poll [R] should consume as little CPU as possible. Thanks Henrik Bengtsson Dept. of Mathematical Statistics @ Centre for Mathematical Sciences Lund Institute of Technology/Lund University, Sweden (+2h UTC) +46 46 2229611 (off), +46 708 909208 (cell), +46 46 2224623 (fax) h b @ m a t h s . l t h . s e, http://www.maths.lth.se/~hb/ -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.- r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html Send "info", "help", or "[un]subscribe" (in the "body", not the subject !) To: r-help-request at stat.math.ethz.ch _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._