Re: [Rd] Size of object in C

2010-03-18 Thread Simon Urbanek
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

[Rd] Size of object in C

2010-03-18 Thread Saptarshi Guha
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() ? Thank you Saptarshi __ R-devel@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-devel