Final generation with knitr