[Rcpp-devel] Boolean vector from R to C++
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 | following: [...] | 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. Regards, Dirk
Dirk Eddelbuettel | edd at debian.org | http://dirk.eddelbuettel.com