<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
Duncan Murdoch wrote:
<blockquote TYPE=CITE>I don't follow this argument. Underscore isn't
used anywhere else in
<br>the language, so when you see one, you know it's an assignment.
On
<br>the other hand, both "<" and "-" have multiple other uses.
This leads
<br>to lots of possibilities for confusion:
<p> x <--5
<br> x < -5
<br> x <- 5</blockquote>
Those are classic examples. Nevertheless, "<-" is more appealing visually
than "_" as an assignment operator, mainly because "_" is used in
file and variable names in other programming languages.
<blockquote TYPE=CITE>(Of course, I actually prefer the Pascalian :=, but
I realize that
<br>puts me in a double minority :-).
<br> </blockquote>
Here I agree with you. I think that future releases of R should have "="
as the assignement operator, just like the last version of S.
<p>Alberto
<pre>--
__________________ Alberto G. Murta ______________________
IPIMAR - Institute of Fisheries and Sea Research
Avenida de Brasilia; 1449-006 Lisboa; Portugal
Tel:351 213027062; Fax:351 213015948; <A HREF="http://www.ipimar.pt">http://www.ipimar.pt</A></pre>
</html>