knitr Support in Emacs (via ESS)

The latest version of ESS now includes support for knitr. This script is no longer necessary.

During my recent switch from vim to Emacs I discovered what a wonderful tool ESS is. It was fantastic for writing Rnw documents using Sweave, but seeing as I’m currently attempting another switch, from Sweave to knitr, I wanted support for that.

After a quick look at the ESS source code, I was able to write a quick script that gives ESS support for knitr.