support knitr .Rnw files