[R] Replacing underscore character in Windows GUI

kjetil brinchmann halvorsen kjetil at entelnet.bo
Wed Aug 13 04:35:47 CEST 2003

On 12 Aug 2003 at 17:38, nels.tomlinson.1 wrote:

I thought one of the reasons for removing the underscore as synonym 
to <- was that at some later point it could be reintroduced in the 
grammar, for example as a valid part of variable names. 

If this is the case, this suggestion is a bad idea. Better to forget 
the habvit of using _ for assignment! Maybe this reemplacement of _ 
with <- will be removed from ess too?

Kjetil Halvorsen

> Hello, all,
> I'd like to propose that now that the underscore-as-assignment-operator
> is to be removed from R (good thing, too), that the Windows GUI should
> replace the underscore ``_''  with the proper assignment operator ``<-''
> when you type in the underscore character.
> This is the current default behaviour in the ESS mode in emacs, and seems
> to me to be a generally good idea.  If no one can come up with a good
> reason not to do this, I hope that the maintainers of the GUI will put it
> on their to-do list.
> Thanks,
> Nels
> ______________________________________________
> R-help at stat.math.ethz.ch mailing list
> https://www.stat.math.ethz.ch/mailman/listinfo/r-help

More information about the R-help mailing list