ported howtos to knitr