From ||||e@@tor @end|ng |rom gmx@com  Thu Jan  9 12:48:24 2020
From: ||||e@@tor @end|ng |rom gmx@com (lille stor)
Date: Thu, 9 Jan 2020 12:48:24 +0100
Subject: [Rd] Get memory address of an R data frame
Message-ID: <trinity-a73adb6e-7025-4545-9108-870c1a66fbfa-1578570504114@3c-app-mailcom-bs15>

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.



[Rd] Get memory address of an R data frame
lille stor