[Rd] "+" operator on characters revisited

peter dalgaard pdalgd at gmail.com
Sun Jan 23 17:50:03 CET 2011


On Jan 22, 2011, at 21:08 , Vitalie S. wrote:

> The only definite argument occurred in the thread against "+" operator
> was the lack of commutativity (as if one have to prove algebraic
> theorems in R).

I think the real killer was associativity, combined with coercion rules: 

Is "x"+1+2 supposed to be equal to "x12" or "x3"?

-- 
Peter Dalgaard
Center for Statistics, Copenhagen Business School
Solbjerg Plads 3, 2000 Frederiksberg, Denmark
Phone: (+45)38153501
Email: pd.mes at cbs.dk  Priv: PDalgd at gmail.com



More information about the R-devel mailing list