adding support for knitr R syntax ({r}, {r, opts}
Merge pull request #26 from houshuang/master

adding support for knitr R syntax ({r}, {r, opts}