I've got an existing codebase that has its own huge matrix in shared memory
(an array of double, column-major), and for part of the computation I want
to pass it to R.

I've managed to get it working with RInside & Rcpp, but only by copying the
data into an Rcpp::NumericMatrix. My question is whether there's any way to
wrap the existing memory such that it's available read-only (enforced by R
or not). Even better if it's possible to do so with a subset of columns.

I was about to look at the bigmemory package for guidance but wanted to
check first to see if this isn't easy somehow.

thanks,
Todd
_______________________________________________
Rcpp-devel mailing list
Rcpp-devel@lists.r-forge.r-project.org
https://lists.r-forge.r-project.org/cgi-bin/mailman/listinfo/rcpp-devel

Reply via email to