The R Project SVN R

Rev

Hide changed files | Details | Compare with Previous | Blame | RSS feed

Filtering Options

Rev Age Author Path Log message Diff Changes
81425 1666 d 6 h ripley /branches/R-structure/ add branch for expeiments with specials in depares/structure  
/branches/R-structure
50896 6046 d 18 h falcon /trunk/ Allow n-dim arrays to be subsetted by an n-column character matrix

The character matrix is converted to the corresponding integer matrix
by matching against the dimnames of the array. NA values in any row
of the character matrix are propagated to the result. Unmatched
values result in a subscript out of bounds error. Empty string "" is
not allowed to match and therefore always results in an error.
 
/trunk/tests/array-subset.R
/trunk/NEWS
/trunk/src/include/Defn.h
/trunk/src/library/base/man/Extract.Rd
/trunk/src/main/subassign.c
/trunk/src/main/subscript.c
/trunk/src/main/subset.c
/trunk/tests/Makefile.common