So, I'm using downloadHandler to create a report, and as advised in an example I found on the net, I've created a .Rmd file that servers as a template.
xtable(mydata)
prints mydata nicely, but the comments that xtable generates are being printed on the final output, complete with their initial % signs.
Is there a way to tell that TeX comments should be treated as comments?