title: Is there a way to automatically call pander for each cell in an RMarkdown document?
body: <p>When working in a RMarkdown file, I end up needing to call <code>%&gt;% pander</code> after each statement I want to show in order to get the results to be displayed in the nice format that pander creates.</p>
  
  <p>Is there any way to get RMarkdown / knitr to automatically send all of the results to pander in order to determine how it should print them?</p>
  
  <pre><code>```{r}
  # default output looks bad
  USJudgeRatings
  ```
  
  ```{r}
  library(magrittr)
  library(pander)
  
  # With pander it looks much nicer
  panderOptions('table.split.table', Inf)
  USJudgeRatings %&gt;% pander
  ```
  </code></pre>
  
  <p><a href="https://i.stack.imgur.com/m49Lw.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/m49Lw.png" alt="enter image description here"></a>
  <a href="https://i.stack.imgur.com/UzLBV.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/UzLBV.png" alt="enter image description here"></a></p>