Add support for R-lang

Could be better, but I didn't want to spend too much time working silently in a cave. Any suggestions to improve it would be appreciated.

I'm using this at work for real R code, and it seems to be covering all my needs.