title: How to "box" the output of "summary()" in Rmarkdown
body: <p>I have seen this post:
  <a href="https://stackoverflow.com/questions/47414027/how-to-create-r-markdown-sections-inside-a-r-code-chunk-with-proper-code-displa">How to create R-markdown sections inside a R code chunk? With proper code display</a></p>
  
  <p>and one of the responders, Cedric, impressed me with the way he or she boxed the output of <code>summary()</code> command in R.</p>
  
  <p><a href="https://i.stack.imgur.com/ReT1r.png" rel="nofollow noreferrer"><img src="https://i.stack.imgur.com/ReT1r.png" alt="enter image description here"></a></p>
  
  <p>I understand that the user used Sweave to create such a great output.
  I am curious that whether there is a way to use Knit to output to a PDF file in the similar fashion.</p>
  
  <p>Thank you!</p>