Skip to content
Prev 5495 / 10988 Next

[Rcpp-devel] Filling a big.matrix in Rcpp

Hi all,
Thanks for all the responses and for clarifying what big matrices are.

I had actually looked through the rcpp-devel site before attempting to use
big.matrix with Rcpp. I probably misunderstood this thread about
bigmemory; it sounded like bigmemory objects worked "out-of-the-box" with
Rcpp (and maybe Xptr could play a role).
http://r.789695.n4.nabble.com/looking-for-adice-on-bigmemory-framework-with
-C-and-java-interoperability-td4610333.html

I presume the below is consistent with Michael's earlier post suggesting
use of a BigMatrix pointer, and that the old thread was just discussed the
data structure of big.matrix objects (rather than that they can be used as
"just doubles").
I'll try the code posted below and confirm.

Regards,
Shraddha
On 13-03-14 8:57 PM, "Dirk Eddelbuettel" <edd at debian.org> wrote:

            
______________________________________________________________________
This email has been scanned by the CAMH Email Security System.
______________________________________________________________________