Grow up and use ESS already (was RE: [R] about the char _)

Liaw, Andy andy_liaw at
Fri Oct 5 15:47:16 CEST 2001

> Members of the Pascal family have that same quirk [there, 
> assignment is  :=  ].  I admit to being a lazy typist (as have others 
> here), and that quirk used to annoy me.  But I'd expect that most R 
> code actually gets written in someone's favorite editor, and that 
> that editor almost certainly has the ability to define the 
> string "<-" 
> as a keyboard macro.  That's how I learned to live with ":=" 
> through several incarnations of Pascal.

In deed...  In S-mode under ESS (5.1.19), typing "_" automagically gives "
<- ".  Note the extra spaces for readibility!  It's also smart enough to
leave "_" inside quotes alone.


r-help mailing list -- Read
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at

More information about the R-help mailing list