Wednesday, February 4, 2015

RMarkdown: Setting global chunk options

The easiest way to do this is to have a chunk at the start of your document that isn't included in the output of the report: In this example I'm setting the default behaviour so that the code isn't printed (echo=FALSE) and no warning messages are reported in the output document (message=FALSE). I'm also setting some xtable options (for easily printing out nice tables in the report).

1 comment:

  1. Used to rely on wordpress for my business site but recently made the decision that a static site is the ideal option for my business. Wp always seemed like overkill. The security and speed that a static site provides combined with Ink for all's ability to export blogs as markdown are incredible

    ReplyDelete