[R] memory check

Michael Griswold mgriswol at jhsph.edu
Wed Nov 22 18:04:10 CET 2000


I'm working on R1.1.1 and was wondering if there is a way to check how 
much memory an object would require, a.k.a. a way to check whether the 
object you'd like to create is going to exceed the heap memory 
available?

 Something to the effect of:

  if ( memorycheck(object) > vsize ) { don't create object }
  else { create object }

 Thanks in advance for any help,

  Michael Griswold

-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
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