convert to knitr; generated vignette differs, still need to fix that
change RStudio project to use knitr
avoid interpretation of code chunk syntax in example
format code chunks like in the original vignette