Is there an elementary function in Rcpp to transform a Rcpp::list object within Rcpp to a Rcpp::NumericVector? One way would be to import the unlist function of R, but thats not very elegant.
-
1Could you show a short R example of what you have in mind?Ada Lovelace– Ada Lovelace2024-08-22 00:33:15 +00:00Commented Aug 22, 2024 at 0:33
-
1see stackoverflow.com/a/30201460/4002530tospig– tospig2024-08-22 01:08:14 +00:00Commented Aug 22, 2024 at 1:08
Add a comment
|