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

Martin Maechler m@ech|er @end|ng |rom @t@t@m@th@ethz@ch
Wed Jul 29 21:47:14 CEST 2015


What does

M-x ess-version

give?

What about

M-x locate-library   [Enter]   ess-help

Does

M-x  R

work ?


On Tue, Jul 28, 2015 at 8:58 PM, Liu, Ran <ran.liu using baml.com> wrote:
> BTW, my ess version is 15.03-1
>
> -----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...{{dropped:7}}




More information about the ESS-help mailing list