[R-SIG-Mac] Assignment arrow

Duncan Murdoch murdoch at stats.uwo.ca
Sun Feb 11 01:24:53 CET 2007


On 2/10/2007 6:25 PM, John Shonder wrote:
> To use R on my Mac, I had been running ESS in emacs
> under X11. I found R.app, and much prefer it --
> especially the quartz graphics -- but there's one
> thing I miss about ESS: to get an assignment arrow
> "<-" you just type shift underscore. In R.app, you
> have to type the less than sign (shift-comma) followed
> by the dash. Coming over from ESS, the extra keystroke
> bothers me.
> 
> Is there an easier way to type an assignment arrow in
> R.app? Some way to make a keyboard macro perhaps? I've
> looked through the FAQ and can't find anything. I
> appreciate any assistance.

You could switch to using "=" instead of "<-", but as a non-ESS user, I 
think just typing "<-" ends up being pretty quick after you get used to it.

Duncan Murdoch



More information about the R-SIG-Mac mailing list