[Rcpp-devel] Working with strings

Romain Francois romain at r-enthusiasts.com
Sun Nov 18 17:16:51 CET 2012


Le 17/11/12 15:22, Hadley Wickham a écrit :
> Hi all,
>
> Am I doing something wrong with the functions below, or has this
> behaviour not yet been implemented in Rcpp?
>
(...)
>
>      cppFunction('CharacterVector miss_c() {
>        return CharacterVector::create(NA_STRING);
>      }')

This should now work in rev 3990. Thanks for reporting the issue.

-- 
Romain Francois
Professional R Enthusiast
+33(0) 6 28 91 30 30

R Graph Gallery: http://gallery.r-enthusiasts.com
`- http://bit.ly/SweN1Z : SuperStorm Sandy

blog:            http://romainfrancois.blog.free.fr
|- http://bit.ly/RE6sYH : OOP with Rcpp modules
`- http://bit.ly/Thw7IK : Rcpp modules more flexible



More information about the Rcpp-devel mailing list