RE: [R] modifying a vector

About this list Date view Thread view Subject view Author view Attachment view

From: Marc Schwartz (mschwartz@medanalytics.com)
Date: Mon 01 Jul 2002 - 04:22:01 EST


Message-id: <001c01c22063$08930860$0201a8c0@MARC>


> -----Original Message-----
> From: owner-r-help@stat.math.ethz.ch
[mailto:owner-r-help@stat.math.ethz.ch] On
> Behalf Of Frank E Harrell Jr
>
> 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
> --

I'll echo and support Dr. Harrell's comments as I have been burned
several times on my own typos paralleling his example.

It has cost me a sufficient amount of time that I have re-configured the
color syntax highlighting in my editor such that the assignment
operators (ie. "<-" and "=") are colored in bold red to differentiate
them from the equality/inequality operators (ie. "==", "<", "<=", etc.)

Marc

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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@stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._


About this list Date view Thread view Subject view Author view Attachment view

This archive was generated by hypermail 2.1.3 : Wed 16 Oct 2002 - 11:57:34 EST