3
I can run the R interpreter through emacs. However, I am looking for the R mode for writing scripts that would perform syntax highlighting, autocompletion and so forth (let me know if there are other features you would recommend as well).
For example, I have opened up an R script (with file extension .R
) but the mode says fundamental
, how would I get an R mode
to be used when I open R scripts?
I use Ubuntu 12.04 LTS and emacs 24.3, let me know if you need any more information and thanks in advance!
In your
.emacs
file do you have the line(setq-default ess-dialect "R")
? – SlowLearner – 2013-08-12T19:10:01.053