[R] mem.tally.* in R

ripley@stats.ox.ac.uk ripley at stats.ox.ac.uk
Wed Nov 20 00:33:56 CET 2002


It's not really a meaningful concept.  R does not use memory efficiently:
it leaves objects around until it runs short and then gc's.  So you can't
really find out the minimum amount of memory a task will take.

Fortunately these things are a lot less important than even in 1999.

On Tue, 19 Nov 2002, loren mccarter wrote:

> I'd like to use the resources() function described on p. 151-152 of S
> Programming by Venables and Ripley (2000), but I don't have access
> to S and don't know whether R's memory functions (e.g., gc()) can be used
> instead of mem.tally.reset() and mem.tally.report(). In order to
> implement the resources() function in R, should I look for the
> C source for these S functions and wrap them in R or is there some way
> to use R's memory functions in the base library?
>
> Thanks!
>
> Loren
>
>
> -.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
> r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
> Send "info", "help", or "[un]subscribe"
> (in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
> _._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._
>

-- 
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 272860 (secr)
Oxford OX1 3TG, UK                Fax:  +44 1865 272595

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list