How to “box” the output of “summary()” in Rmarkdown
问题 I have seen this post: How to create R-markdown sections inside a R code chunk? With proper code display and one of the responders, Cedric, impressed me with the way he or she boxed the output of summary() command in R. 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. Thank you! 回答1: There's nothing special about Sweave vs. R Markdown here. You can copy and paste the LaTeX