Simple and high-level formatting of R tables for use in knitr/Sweave