Using table caption on R markdown file using knitr to use in pandoc to convert to pdf
问题 I am wondering if it is possible to use the table captions like figure captions using knitr in .Rmd file ? I saw options for figure caption but I couldn't see the option for the table caption. I also want to remove the message such as "% latex table generated in R 2.15.2 by xtable 1.7-0 package % Wed Mar 06 15:02:11 2013" . I used X table to create the table: The sample code I used is as follows: ```{r table2, results='asis', message=FALSE} library(xtable) print(xtable(head(iris))) ``` The