R script for generate HTML with knitr