worked on knitr plugin