[R] modifying a vector

Frank E Harrell Jr fharrell at virginia.edu
Sun Jun 30 18:49:30 CEST 2002


On 30 Jun 2002 09:12:31 -0700
"A.J. Rossini" <rossini at blindglobe.net> wrote:

> >>>>> "john" == John Fox <jfox at mcmail.cis.mcmaster.ca> writes:
> 
>     john> The equal sign has already been provided as an alternative assignment
>     john> operator in R.
> 
> And I feel the same way about "=" as I do about "_".  Yech.

I'll second that.  And we've already seen the big trouble that can be caused by "=" (e.g., mistyping sex=='male' as sex='male') that was not envisioned by the developers.  -Frank Harrell
-- 
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