[R] emacs, Mac OS X, R

Meinhard Ploner meinhardploner at gmx.net
Mon Sep 27 11:27:34 CEST 2004


On Sep 24, 2004, at 5:53 PM, Bill Rising wrote:

> On Sep 24, 2004, at 10:05, Meinhard Ploner wrote:
>
>> Hi!
>>
>> Since August I am using emacs on my Macintosh to edit the R objects. 
>> I have installed R 1.9.1, Mac OS X 10.3.5 and GNU Emacs 21.2.1. 
>> However there are some issues I haven't resolved:
>>
>> a) switch the caps lock key to the meta key (and when this is not 
>> possible, switch the alt/option key to the meta).
>
> You can use only the command or option key for the meta key. To see 
> the method, try looking at
>
> http://members.shaw.ca/akochoi-emacs/stories/faq.html
>
>> The switch should work only within emacs!
>>
>> b) having different colors for the code, i.e. comments, commands, 
>> strings, ...
>
> I'd advise using ESS, whose home page is
>
> http://stat.ethz.ch/ESS/
after installing ESS 5.2.3 I called emacs and within emacs M-x R and I 
get the following:

 > options(STERM='iESS', editor='emacsclient')
 >
 > fix(fun1)
emacsclient: can't find socket; have you started the server?
Error in edit(name, file, editor) : problem with running editor 
emacsclient
 >

What did I wrong?
Meinhard


>
> Bill
>




More information about the R-help mailing list