run knitr for the calculations