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

Duncan Murdoch murdoch at stats.uwo.ca
Tue Oct 3 16:18:00 CEST 2000


On Tue, 03 Oct 2000 14:45:32 +0000, you wrote in message
<39D9F10C.F0E51F4B at ipimar.pt>:

>Duncan Murdoch wrote:

>> (Of course, I actually prefer the Pascalian :=, but I realize that
>> puts me in a double minority :-).
>>
>
>Here I agree with you. I think that future releases of R should have "=" as the
>assignement operator, just like the last version of S.

No, please don't!  I was suggesting ":=", not "=", and I wasn't
serious.  A lone equal sign is used in too many languages (e.g.
standard mathematical notation, standard pseudocode, Pascal and its
descendants, etc.) to indicate a statement or test of equality.  The
mis-use of it in Fortran, C and BASIC aren't examples we want to
follow.

I think we're stuck with "<-", despite the deficiencies I pointed out
in my earlier message, and we should learn to live with it.  I'm
ambivalent about " _ ".  

Duncan Murdoch
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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