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>