<div dir="ltr"><div dir="ltr"><div>Hi, can someone please tell me where the return types of wrap are documented?</div><div><br></div><div>For context, I was looking at the Advanced R chapter on Rcpp <a href="http://adv-r.had.co.nz/Rcpp.html" target="_blank">http://adv-r.had.co.nz/Rcpp.html</a>
 which shows an example of a C++ function with the Rcpp::exports 
attribute, that returns a std::map, and I was wondering how the std::map is returned in R. (I assume this will generate an 
RcppExports.cpp which calls wrap on the result) I'm wondering what the 
returned SEXP type will be?</div><div><br></div><div>For clarification 
this is more of a question about documentation -- is there a place where
 I can find a table/mapping from currently implemented C++ wrap inputs 
to returned SEXP types? e.g. NumericVector in C++ -> numeric vector in R, int in C++ -> integer vector in R, etc<br></div><div><br></div><div>FYI I tried looking
 in the doxygen/rcpp-devel archives/google and in the Rcpp inst/include 
source code, but I did not find the answer.<div class="gmail-adL"><br><br></div></div></div></div>