[Rd] Get memory address of an R data frame

lille stor ||||e@@tor @end|ng |rom gmx@com
Thu Jan 9 12:48:24 CET 2020


Hello,

I would like for my C function to be able to manipulate some values stored in an R data frame.

To achieve this, a need the (real) memory address where the R data frame stores its data (hopefully in a contiguous way). Then, from R, I call the C function and passing this memory address as a parameter.

The question: how can we get the memory address of the R data frame?

Thank you!

L.



More information about the R-devel mailing list