[ESS] help: how to set up R mode in emacs via ESS

Liu, Ran r@n@||u @end|ng |rom b@m|@com
Tue Jul 28 20:54:21 CEST 2015


I just added (require 'ess-site) in my .emacs file and re-open my R file via emacs, nothing changed. 


-----Original Message-----
From: Dr S.J. Eglen [mailto:sje30 using hermes.cam.ac.uk] On Behalf Of Stephen Eglen
Sent: Tuesday, July 28, 2015 2:49 PM
To: Liu, Ran
Cc: ess-help using r-project.org
Subject: Re: [ESS] help: how to set up R mode in emacs via ESS


>
> I am new to ESS and learnt that ESS is the way to go about editing R file with highlighting, coloring in Emacs. Below is the line I put in my .emacs file:
>
> (add-to-list 'auto-mode-alist '("\\.R$" . ess-mode))

Did you also put something like:

(require 'ess-site)

in your .emacs?

----------------------------------------------------------------------
This message, and any attachments, is for the intended r...{{dropped:2}}




More information about the ESS-help mailing list