```{r knitr_options, include=FALSE} # knitr::knit imports knitr automatically # rmarkdown::render does not import knitr automatically library(knitr) opts_chunk$set(fig.path='figures/') ``` # h1 ```{sh} date git rev-parse --verify HEAD git status --porcelain ``` ## font style **bold** _italics_ *emph* `code` ## list ### unordered - a - b ### numbered 1. a 2. b ## code ```cpp int main() { return 0; } ``` ## quote > quote ## links [Fabian Peter Hammerle](http://fabian.hammerle.me/) [Repository][1] [//]: references [1]: https://git.hammerle.me/fphammerle/template-markdown ## R ```{r} 1+1 ``` Pi is `r pi`. ### plot ```{r} plot(1:10) ``` \pagebreak # Resources [knitr in a knutshell](http://kbroman.org/knitr_knutshell/) [using pander with knitr](http://rapporter.github.io/pander/knitr.html) [pander options](http://rapporter.github.io/pander/#pander-options) [CrossTable documentation](https://www.rdocumentation.org/packages/descr/versions/1.1.3/topics/CrossTable) [R in clinical research](http://www.r-clinical-research.com/) [using knitr and pandoc to create reproducible scientific reports](http://galahad.well.ox.ac.uk/repro/) \pagebreak # R session info ```{r session_info} sessionInfo() ```