Skip to content

R texteditor for mac OS

12 messages · Bunny, lautloscrew.com, Aidan Findlater, Michael Lawrence +5 more

#
Dear all, 

i really have some issues using the standard R editor on Snow Leopard. On several occasions lines were cut off horizontally. Plus, there are problems with line breaks after copy pasting code from one window to another. Is there any quality editor or IDE for R? What do y?all use ?

thx in advance

matt
#
I love TextMate. Well worth the cost. Add the RMate bundle
(http://tolstoy.newcastle.edu.au/R/e7/help/09/06/1073.html) and you're
golden. I use it for python programming too.

On Wed, Jun 2, 2010 at 2:31 PM, Bunny, lautloscrew.com
<bunny at lautloscrew.com> wrote:

  
    
#
I use TextMate as main editor and the R/R Console/ R Daemon bundles. Especially the R bundle.
Furthermore R.app and R64.app for interactive use.

Berend
On 02-06-2010, at 19:31, Bunny, lautloscrew.com wrote:

            
#
Aquamacs (http://aquamacs.org/) if you are into that sort of thing.
ESS is built in and the code formatting tools alone are enough to stop
me from using other IDEs.

Max
#
thx, everybody. I just downloaded aquamacs and probably will try to get a trial of textmate and share my experience here. 
Any suggestions to RMate vs Aquamacs ?

best

matt
On 03.06.2010, at 14:34, Max Kuhn wrote:

            
#
Dear all, 

in the meantime i got StatET for Eclipse, which really works well on first sight. 
This mailinglist post has interesting information on how to configure it, worked fine for me, running Snow Leopard: http://lists.r-forge.r-project.org/pipermail/statet-user/2009-May/000156.html

I also tried to aquamacs / Emacs, but had some trouble because it was not accepting my curly braces {} out of the box. Plus, I just got the R console running inside emacs and not my script submitted to R. Though, i?d like to give it another try  - so you have any suggestions how to get over the hump a little easier... go ahead :) . 

Does anybody have some experience with that R console inside Eclipse... somehow I do not really trust it yet, but that?s just a gut feeling.

best 

matt
On 03.06.2010, at 14:34, Max Kuhn wrote:

            
#
Hi,
Sorry, I can't figure out what you mean by that. Could you please elaborate?
If you have an R process running within emacs (M-x R) and are
currently working in an R source buffer, you can send the contents of
the buffer to your inferior R process by hitting:

ctrl-c ctrl-l

Is that what you meant?

To send just the current line where your "point" is:

ctrl-c ctrl-j
or
ctrl-c ctrl-n

Here's an ess cheatsheet you can peruse:
http://ess.r-project.org/refcard.pdf
I briefly flirted with Eclipse + StatET a long time ago, but didn't
really get into it.
What about it seems so duplicitous to you?
#
Hi Steve, 

thx for the help with the buffer and the refcard, that really helps.
On 04.06.2010, at 05:58, Steve Lianoglou wrote:

            
still i have the problem with the curly braces. if I hit alt+8 / alt+9 which is supposed to create curly braces on a mac, I am switched to the interface below the editor itself. 
I am it surprised by these issues because I though aquamacs was supposed to run on macs. 

best

matt
#
Hmm ... this is news to me.

I'm guessing this might be some international keyboard issue? Eg. on
my (US) keyboard, the curly brace is shift-[ and shift-].

I'm not really sure what to tell you if alt-8 is giving you "{" in
every program but emacs ... I'm sure there's some simple solution.
You mean the R console running inside emacs?
Yes, it only runs on macs, in fact.

You can find out where to get more aquamacs specific support here:
http://aquamacs.org/support.shtml
#
Le ven. 04 juin ? 08:55, Steve Lianoglou a ?crit :
It is. For example, on my French Canadian keyboard, I enter {, }, [, ] with Option-7, 8, 9, 0, respectively. Problem is, by default Emacs on OS X assigns Option to Meta, so what Emacs receives is Meta-7, etc.

My cure for that: use Command for Meta and ditch all the Macish keybindings in Emacs. This is in part what motivated me to build a non-Macified distribution of GNU Emacs for OS X; see

	http://vgoulet.act.ulaval.ca/emacs/mac

So, to assign Command to Meta insert the following in your .emacs file (located in your personal directory):

(setq-default ns-command-modifier 'meta) ; Command is Meta
(setq-default ns-option-modifier 'none)	 ; Option is Option 

Just don't expect Command-C/V/X to work for copy/paste/cut. You'll have to learn the Emacs keybindings (M-w, C-y, C-w). Good thing: these are the same on all Emacsen on all platforms.

Vincent Goulet
?cole d'actuariat, Universit? Laval
15 days later
#
AlphaX
On 2010-06-02 18:31 , Bunny, lautloscrew.com wrote: