[R-SIG-Mac] Memory length in C

Maartje Raijmakers mraijmakers at fmg.uva.nl
Mon Oct 4 16:22:39 CEST 2004



I suspect memory problems. Therefore I want to do the following, but I don't
know how:

I use C - routines which I call from R with .C (and C routines that are
called from fortran by lsoda in the odesolve package)
One of these C routines has as an argument a pointer to an array of doubles.

Now, I want to check the length of this array within the C-routine.
Does anyone know how I should do that?


Regards, Maartje



More information about the R-SIG-Mac mailing list