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.
In other words, generate LaTeX elements inside a for loop. For each row Sweave would build a table.
The same would apply for pages, or other elements. Is it possible to do this?
Does this help:
Happy to go into more details if this is the right track!