[ESS] help: how to set up R mode in emacs via ESS
Stephen Eglen
S@J@Eg|en @end|ng |rom d@mtp@c@m@@c@uk
Wed Jul 29 21:59:33 CEST 2015
Sorry Martin, I should have followed up to the list. The problem turned out to
be an old version (22.2) of Emacs.
Stephen
On Wed, Jul 29 2015, Martin Maechler wrote:
> 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}}
>
> ______________________________________________
> ESS-help using r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/ess-help
More information about the ESS-help
mailing list