Re: [Rd] Size of object in C

From: Simon Urbanek <simon.urbanek_at_r-project.org>
Date: Thu, 18 Mar 2010 15:02:19 -0400

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



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Thu 18 Mar 2010 - 19:05:35 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Fri 19 Mar 2010 - 14:11:10 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.

list of date sections of archive