[Rcpp-devel] Boolean vector from R to C++
edd at debian.org
Thu Apr 14 17:15:25 CEST 2011
On 14 April 2011 at 16:00, Cedric Ginestet wrote:
| I am trying to pass on a boolean vector from R to C++. I have naively tried the
| Is there an equivalent to IntegerVector or NumericVector for Boolean variables
| or can I simply use the Rcpp::Vector template for this purpose?
Yes there is, and we spent time documenting all this, as well as providing
actual working examples (albeit sometime tucked away in the unit tests).
I think at this point it would be polite of you to figure out how to best
search, index, grep, ... the documentation.
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com
More information about the Rcpp-devel