[Rcpp-devel] Dynamic Wrapping and Recursion with Rcpp - using an R function?
Hadley Wickham
h.wickham at gmail.com
Fri Jul 26 18:07:13 CEST 2013
> I understand your point, and am not sure how to proceed without it.
Just make sure you clone the initial list once, or use another C++
data structure (e.g. std::vector) that can grow efficiently.
Alternatively, you could create your own alternative to as.dendrogram
that doesn't create a hierarchical structure. (That's what I'd try
first)
Hadley
--
Chief Scientist, RStudio
http://had.co.nz/
More information about the Rcpp-devel
mailing list