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?