Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Emacs mode for R?

Tags:

emacs

r

Is there a mode in emacs that does syntax highlighting for the R programming language? R-mode doesn't seem to work...

like image 485
Wilduck Avatar asked Sep 14 '09 17:09

Wilduck


1 Answers

Yes, there is: ESS.

And it is very highly recommended. And it does a lot more than just syntax highlighting so please read the docs.

Edit: Some ten+ years later, installation got easier too:

M-x package-refresh-contents ENTER
M-x package-install ENTER ess ENTER

You may want some related packages, eg poly-mode is good for markdown support, but this is a start.

like image 136
Dirk Eddelbuettel Avatar answered Nov 04 '22 23:11

Dirk Eddelbuettel