I am trying to change the R Sweave command to knitr on linux. The current (R Sweave) command is found under options > configure:
R CMD Sweave %.Rnw
Yihui gives and example of how to do this on windows here.
How would you do this on linux (ubuntu)?