Wilduck
Wilduck

Reputation: 14096

Emacs mode for R?

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

Upvotes: 67

Views: 22988

Answers (1)

Dirk is no longer here
Dirk is no longer here

Reputation: 368201

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.

Upvotes: 86

Related Questions