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
69385 3967 d 19 h luke /branches/R-NEWSTR/ Create branch for experimenting with alternate STRSXP implementations.  
/branches/R-NEWSTR
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