Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.
From the R-devel svn log. Nice addition…
r50896 | falcon | 2010-01-05 12:05:31 -0800 (Tue, 05 Jan 2010) | 7 lines
Changed paths:
M /trunk/NEWS
M /trunk/src/include/Defn.h
M /trunk/src/library/base/man/Extract.Rd
M /trunk/src/main/subassign.c
M /trunk/src/main/subscript.c
M /trunk/src/main/subset.c
M /trunk/tests/Makefile.common
A /trunk/tests/array-subset.RAllow 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.
I wonder about an option controlling the behavior of non-matches?
R-bloggers.com offers daily e-mail updates about R news and tutorials about learning R and many other topics. Click here if you're looking to post or find an R/data-science job.
Want to share your content on R-bloggers? click here if you have a blog, or here if you don't.