From ripley at stats.ox.ac.uk  Tue Sep 14 08:06:19 2004
From: ripley at stats.ox.ac.uk (Prof Brian Ripley)
Date: Tue Sep 14 08:06:31 2004
Subject: [Rd] memory allocation questions
In-Reply-To: <C4178DC99E08604EA5E2BDB989F0938002618EF6@extas2-hba.tas.csiro.au>
Message-ID: <Pine.LNX.4.44.0409140703180.8690-100000@gannet.stats>

On Tue, 14 Sep 2004 Mark.Bravington@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@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


[Rd] memory allocation questions
Prof Brian Ripley