[R] Re: assigning with operator '='.

Rolf Turner rolf at math.unb.ca
Wed May 22 15:59:10 CEST 2002

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.

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.

The best workaround for the problem raised by Jens is

	***NEVER NEVER NEVER*** use ``='' as
	the assigment operator.

But the R core team should take steps to get rid of this behaviour
(or better still, get rid of ``='' as assignment!!!).


						Rolf Turner
						rolf at math.unb.ca
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