[Rd] memory allocation questions

Prof Brian Ripley ripley at stats.ox.ac.uk
Tue Sep 14 08:06:19 CEST 2004

On Tue, 14 Sep 2004 Mark.Bravington at csiro.au wrote:

> My second question is: 
> if I do use the R replacements, what are their names nowadays?

> R-EXTS refers to Calloc, Realloc and Free, but these aren't exported by
> R.DLL (for R1.9.0 or 1.9.1) and I couldn't find mention of any name
> change in the NEWS file.

There is no change.  R-exts does say you must include the appropriate 
headers, in this case include/R_ext/RS.h.  They are defines, and not just 
simple calls to entry points.  I'll leave you to take a closer look.

Brian D. Ripley,                  ripley at stats.ox.ac.uk
Professor of Applied Statistics,  http://www.stats.ox.ac.uk/~ripley/
University of Oxford,             Tel:  +44 1865 272861 (self)
1 South Parks Road,                     +44 1865 272866 (PA)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

More information about the R-devel mailing list