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 opposite of assignment and that (x <- y) <- z doesn't
make sense... Of course, using parentheses is more expedient.

-- 
   O__  ---- Peter Dalgaard             Blegdamsvej 3  
  c/ /'_ --- Dept. of Biostatistics     2200 Cph. N   
 (*) \(*) -- University of Copenhagen   Denmark      Ph: (+45) 35327918
~~~~~~~~~~ - ([EMAIL PROTECTED])             FAX: (+45) 35327907

______________________________________________
[EMAIL PROTECTED] mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help

Reply via email to