peter dalgaard <pdalgd <at> gmail.com> writes:
> But for the benefit of the rest of us: A NumericVector is a pointer, right?

Effectively even though it is not treated as one by the users.  But you 
know what P in SEXP stands for, and Rcpp objects really are what we call
"proxy objects" for the respective underlying SEXP objects.

Searching the rcpp-devel list archives for the clone() function will bring
a number of preceding discussions.  As I said in the previous email, this
list is not the best place to discuss Rcpp matters --- rcpp-devel is. 
Please feel free to bring follow-up questions there.

Dirk

______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
https://stat.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
and provide commented, minimal, self-contained, reproducible code.

Reply via email to