On Mar 18, 2010, at 13:39 , Saptarshi Guha wrote: > Hello, > Is there a function(in R's C API), given a SEXP, that computes the > size in bytes, i.e. a C equivalent of object.size() ? > No. But eval(LCONS(install("object.size"), list1(x)), R_GlobalEnv); isn't that long ... ;) Cheers, Simon