Re: [Rcpp-devel] Subsetting / slicing with Vectors

2013-01-12 Thread Dirk Eddelbuettel
Hi Kevin, On 12 January 2013 at 11:10, Kevin Ushey wrote: | I'm wondering -- what operations are available for subsetting of Vectors in | Rcpp? I've scoured through all the vignettes but it seems like a couple | 'nice-to-haves' aren't there yet. My questions: | | * is there a difference between

[Rcpp-devel] Subsetting / slicing with Vectors

2013-01-12 Thread Kevin Ushey
Hi guys, I'm wondering -- what operations are available for subsetting of Vectors in Rcpp? I've scoured through all the vignettes but it seems like a couple 'nice-to-haves' aren't there yet. My questions: * is there a difference between subsetting a vector with () vs []? * is it possible to subs