[Rcpp-devel] passing NA from C++ to R

WEI ZHANG aweizhang at gmail.com
Mon Feb 7 23:23:07 CET 2011


I would like to know how can I pass NA from C++ to R. 

For example, for any integer in C++ , if == -999, I would like to set to NA
to pass to R. 

 

Thanks.

 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.r-forge.r-project.org/pipermail/rcpp-devel/attachments/20110207/54bec032/attachment.htm>


More information about the Rcpp-devel mailing list