On Wed, 3 Sep 2003, Richard A. O'Keefe wrote:
The file src/library/base/R/print.R
contains this line:
x0 - xm[okP]==0 != (as.numeric(Cf[okP])==0)
I didn't know R allowed that, and I wonder if it is deliberate?
Well, I'm not surprised that it's syntactically valid, but I wouldn't know
Thomas Lumley [EMAIL PROTECTED] writes:
I think it's clear that it will parse as either
(x==y) != z
or
x == (y!=z)
but not which.
The rule is that everything is left associative except assignment and
exponentiation (and IF, for some reason). If in doubt, just remember
that it is the