title: Dynamic Sweave document
body: <p>Is it possible to generate a LaTeX document through Sweave that don't have the number of its elements predefined? I mean, suppose I need to build a table for each row in a dataframe. The number of tables in the document will depend on the number of rows in the dataframe.</p>
  
  <p>In other words, generate LaTeX elements inside a <code>for</code> loop. For each row Sweave would build a table.</p>
  
  <p>The same would apply for pages, or other elements. Is it possible to do this?</p>