Skip to content

Commit 9dc14c7

Browse files
committed
Add a NEWS entry for subset
1 parent 1ebac33 commit 9dc14c7

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

inst/NEWS.Rd

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,12 @@
2020
\item \code{DataFrame::nrows} now more accurately mimics R's
2121
internal behavior (checks the row.names attribute)
2222
\item Numerous changed to permit compilation on the Solaris OS
23+
\item Rcpp vectors gain a subsetting method -- it is now possible
24+
to subset an Rcpp vector using \code{CharacterVector}s (subset
25+
by name), \code{LogicalVector}s (logical subsetting), and
26+
\code{IntegerVector}s (0-based index subsetting). Such subsetting
27+
will also work with Rcpp sugar expressions, enabling expressions
28+
such as \code{x[ x > 0]}.
2329
}
2430
\item Changes in Rcpp Attributes
2531
\itemize{

0 commit comments

Comments
 (0)