> My objection, at least, was that + should be *associative*. I don't think > anyone would expect a + b and b+a to be the same for strings, but I do > think the fact that (a+b)+c and a+(b+c) would be different (if some of a, > b,c were strings) has real potential for ugliness.
You're assuming an automatic cast from numbers into strings? What if a + "4" threw an error? Hadley -- http://had.co.nz/ ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.