new snippet using knitr to process Sweave