Generating Reports in R – Suggestions?

I would like to programmatically generate a report using R.  The contents are mostly graphs and tables.  I have a working system, but it’s too many pieces.  When I hand this off to someone else, it become immediately fragile.

Isn’t there a better way? Here are my elements:

  • R script: collection of functions to manipulate the data interactively, and with the report
  • R script: wrapper to the above functions, and calls knit (from the knitr package) function to generate the report
  • R/LaTeX: report template
  • bash: script to tie it all together, and clean up leftovers

That’s four languages. Ugly.

Leave a Reply