Writing reproducibly in the open with knitr