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

Frank E Harrell Jr fharrell at virginia.edu
Thu May 23 04:15:13 CEST 2002


On Wed, 22 May 2002 20:27:15 -0400
Mike Prager <mprager at alum.mit.edu> wrote:

> At 10:59 AM 05/22/2002 -0300, Rolf Turner wrote:
> 
> >[...]
> >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.
> >[...]
> 
> I for one would be delighted to see an option added to R allowing the user 
> to turn off "=" as a valid assignment operator. That would allow 
> maintaining S compatibility for those who want it, while allowing the rest 
> of us an added measure of safety.

Or better still make the old behavior the default and have an option that will enable "=" for those (few?) who find it attractive.  -Frank

> 
> 
> --
> Mike Prager  (mprager at alum.mit.edu)
> Beaufort, North Carolina
> 
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> 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
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


-- 
Frank E Harrell Jr              Prof. of Biostatistics & Statistics
Div. of Biostatistics & Epidem. Dept. of Health Evaluation Sciences
U. Virginia School of Medicine  http://hesweb1.med.virginia.edu/biostat
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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