Added R examples with knitr (both rnw and rmd)