[Rd] Subsetted 1-D arrays (PR#4110)

Gabor Grothendieck ggrothendieck at myway.com
Wed Oct 22 17:14:04 MEST 2003


Prof Brian Ripley <ripley at stats.ox.ac.uk>
> David Brahm <brahm at alum.mit.edu> 
> > Also, *should* you be able to add a (4) array to a (1,4) array?
> No. You cannot in S.

You can't in APL or mathematics either.  

There is a tradeoff between expressiveness and enforcing code
quality.   The downside of giving meaning to otherwise 
non-meaningful expressions is that fewer errors can
be caught by the system -- its harder for the user to detect a 
wrong result than to simply respond to an error message.


_______________________________________________
No banners. No pop-ups. No kidding.
Introducing My Way - http://www.myway.com



More information about the R-devel mailing list