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
"nels.tomlinson.1" <tomlinso at purdue.edu> writes:> 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.One of the purposes of deprecating then disallowing the underscore as an assignment character is to allow its use in names.
kjetil brinchmann halvorsen
2003-Aug-13 02:35 UTC
[R] Replacing underscore character in Windows GUI
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