[R] Re: assigning with operator '='.
Thomas Lumley
tlumley at u.washington.edu
Wed May 22 17:44:02 CEST 2002
On Wed, 22 May 2002, Rolf Turner wrote:
>
> I've just checked out Jens Oehlschlgel's posting as regards assigning
> with the ``='' operator. Yep, the phenomenon described really does
> happen. And yep, it sure seems ***very*** dangerous to me.
Yes. It's a bug, as I said yesterday. It happened with <- in previous
versions of R. It only happens under fairly unusual circumstances, which
is why it wasn't fixed earlier.
> Mind you, using ``='' as the assignment operator strikes me as being
> dangerous anyhow. Bad design decision by the S people (by John
> Chambers?) and R should ***not*** have followed suit, compatibility
> or no compatibility.
It's actually pretty harmless, since = is forbidden in most of the cases
where it would be ambiguous.
-thomas
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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