Mike Williamson
2008-Oct-23 08:36 UTC
[R] What editors can I get R in Mac OS X to talk to?
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? if I do that, can I only run it on my Mac via the unix command calls?), or (b) works with the aquamacs editor. 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]]
baptiste auguie
2008-Oct-23 09:08 UTC
[R] What editors can I get R in Mac OS X to talk to?
Hi, I use Textmate, but every now and then I like to try out aquamacs. I've just downloaded it from < http://aquamacs.org/ >, where ESS is part of the package. It runs flawlessly for me, out of the box. I just opened a r file, clicked the big R icon, then simply highlighted part of the code and Cc-Cr to evaluate it. For some reason the default graphics device turned out to be x11() but that's a minor detail to configure. Baptiste (R7.2, MBP, Leopard) On 23 Oct 2008, at 09:36, 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? if I do that, can I only run it on my > Mac via > the unix command calls?), or (b) works with the aquamacs editor. 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._____________________________ Baptiste Augui? School of Physics University of Exeter Stocker Road, Exeter, Devon, EX4 4QL, UK Phone: +44 1392 264187 http://newton.ex.ac.uk/research/emag
Charles C. Berry
2008-Oct-23 16:21 UTC
[R] What editors can I get R in Mac OS X to talk to?
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