[Rd] Size of object in C

Simon Urbanek simon.urbanek at r-project.org
Thu Mar 18 20:02:19 CET 2010


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



More information about the R-devel mailing list