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) ````
You can put in directly in the print statement like so:
print
xtb=xtable(...) print(xtb, comment=FALSE)