[R] the underscore ("_") in variable name

Jim Lindsey james.lindsey at luc.ac.be
Mon Oct 2 16:06:10 CEST 2000


> 
> Bill Venables <Bill.Venables at cmis.csiro.au> writes:
> 
> > If we follow your suggestion and give prominence to the fact that "_" is a
> > synonym for "<-" then as sure as eggs some people will actually USE it!
> > This is, in the opinion of many of us at least, a very BAD thing as it
> > makes code just about unreadible.  On the other hand if we don't give
> > prominence to the fact but just hide it in an obscure footnote, then many
> > people will get bitten first time (but only then) and come complaining to
> > R-help and I will write more tetchy little notes like this one...
> 
> Of course, there's also the option of letting the parser say "obsolete
> use of underscore as assignment operator" every time it is used. 
> 
> This just might annoy people enough to persuade them to stop using it...

Excellent idea. Jim

> 
> -- 
>    O__  ---- Peter Dalgaard             Blegdamsvej 3  
>   c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
>  (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
> ~~~~~~~~~~ - (p.dalgaard at biostat.ku.dk)             FAX: (+45) 35327907
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
> 

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list