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). The switch should work only within emacs! b) having different colors for the code, i.e. comments, commands, strings, ... thanks in advance! Meinhard
Hi! Don't know about how to switch the keys (I suspect that if you take a look at the Emacs manual you'll find that's not difficult at all). But if you like to have different colors for R within Emacs you should use ESS (Emacs Speaks Statistics), which is available at http://ess.r-project.org/ Good look. On Fri, 24 Sep 2004, 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). The switch should > work only within emacs! > > b) having different colors for the code, i.e. comments, commands, > strings, ... > > thanks in advance! > Meinhard > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html >-- Ulises M. Alvarez LAB. DE ONDAS DE CHOQUE FISICA APLICADA Y TECNOLOGIA AVANZADA UNAM u-m-a-l-v-a-r-e-z AT f-a-t-a DOT u-n-a-m DOT m-x Tels: (442)-238-1144 (5)-5623-4144 Fax: (442)-238-1165 (5)-5623-4165
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 >