[R] What editors can I get R in Mac OS X to talk to?

Charles C. Berry cberry at tajo.ucsd.edu
Thu Oct 23 18:21:02 CEST 2008


On Thu, 23 Oct 2008, Mike Williamson wrote:

> All,
>
>    Apologies if this was already answered... I couldn't find an answer that
> specifically addressed Mac OS instead of either windows or linux.  I use
> "aquamacs emacs" as my text editor.  It is essentially Xemacs with a GUI
> that looks closer to standard Mac GUIs, as far as I can tell.  I installed
> the GUI-friendly Mac version of R.  I can have R choose the aquamacs as the
> editor of choice, but I cannot seem to figure out how to do any script
> executions.  E.g., highlighting part of the script and then hitting CTRL-R
> or something similar to get just a portion of the script to run.
>    I would install ESS, since I know that is supposed to help emacs talk to
> R, but I have no confidence that it either (a) works for the Mac (if so, do
> I install the unix version?

Yes, it works, and yes install following the unix instructions:

 	http://stat.ethz.ch/ESS/Manual/readme.html#Unix-installation


if I do that, can I only run it on my Mac via
> the unix command calls?), or (b) works with the aquamacs editor.

It will work either way. However, running emacs in a terminal window has 
some annoyances.

In aquamacs, you might want to disable clover-Q and clover-P if the clover 
key sits next to the meta key and if your fingers are a clumsy as mine - I 
was constantly killing sessions or starting the print dialog when all I 
wanted was to fill-paragraph or recall the last command via 
comint-previous-input.

HTH,

Chuck

p.s. Mac stuff should go to R-sig-mac.



I don't
> care about the editor so much, I could find a less fancy text editor.  But I
> don't really know how to install ESS properly on a mac.
>
>                           Thanks in advance!
>                                       Mike
>
> 	[[alternative HTML version deleted]]
>
> ______________________________________________
> R-help at r-project.org mailing list
> https://stat.ethz.ch/mailman/listinfo/r-help
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
>

Charles C. Berry                            (858) 534-2098
                                             Dept of Family/Preventive Medicine
E mailto:cberry at tajo.ucsd.edu	            UC San Diego
http://famprevmed.ucsd.edu/faculty/cberry/  La Jolla, San Diego 92093-0901



More information about the R-help mailing list