Dear Rcpp Experts, in my current project I wanted to make use of OpenMP. Unfortunately it seems Rcpp Objects cannot be used inside a block executed in parallel. Seg fault errors are the consequence, according to Dirk's reply in this thread http://lists.r-forge.r-project.org/pipermail/rcpp-devel/2012-February/003398.html
Hence the need to convert Rcpp::Vector to std::vector, Rcpp::Matrix to std::vector< std::vector >, and Rcpp::List to std::map< std::string, … > If I am not mistaken there's only support for the first conversion, using the "as<> wrapper"; is this correct? What would be the most efficient way of converting Rcpp::Matrix and Rcpp::List to the above types? And how to efficiently convert them back into Rcpp-Objects? Kind regards and a nice weekend! _______________________________________________ Rcpp-devel mailing list [email protected] https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel
