rename .Rnw to .Rmd and tweak chunk headers
use rmarkdown instead of raw knitr, so we can choose the output format