How to remove the % lines in xtable table output by Knitr

后端 未结 2 1415
悲&欢浪女
悲&欢浪女 2020-12-23 16:39

By using xtable and knitr, I add a table to my RMD document and export to PDF file.

```{r, results=\'asis\'}
library(xtable)
xtable(matrixtable)
````
         


        
2条回答
  •  悲哀的现实
    2020-12-23 17:25

    You can put in directly in the print statement like so:

    xtb=xtable(...)
    print(xtb, comment=FALSE)
    

提交回复
热议问题