Wednesday, February 18, 2015

Rmarkdown: automatically select correct output type for xtable

I was initially setting the xtable output type manually - either globally or in each print statement. This got annoying very quickly when switching between HTML and PDF outputs. This is how you get xtable to automatically use the correct output format:

No comments:

Post a Comment