Skip to content
Back to formatted view

Raw Message

Message-ID: <19879.3981.120977.28672@max.nulle.part>
Date: 2011-04-14T15:15:25Z
From: Dirk Eddelbuettel
Subject: [Rcpp-devel] Boolean vector from R to C++
In-Reply-To: <4DA70C24.5070305@googlemail.com>

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