Added r support to emacs