title: Rmarkdown Not Producing Table Within For In Loop
body: <p>I'm trying to produce an automated report using Rmarkdown. In this report I have sections with tables. The sections are produced using the following Rmarkdown. However, it refuses to produce any tables(tried using <code>kable</code> and <code>pander</code>) when I hit knit. Knit will just produce the headings, without any tables. When I use the immediate mode, I get the appropriate markdown. So what might I be doing wrong.</p>
  
  <pre><code>```{r, results='asis'}
  for(p in names(presentations)) {
    deats &lt;- presentations[p][[1]]
    cat('#', p, '\n')
    pander(deats)
    str(deats)
    cat('\n')
  }
  ```
  </code></pre>