[Rd] built-in NAMED(obj) from within R
Matthew Dowle
mdowle at mdowle.plus.com
Fri Nov 9 13:04:44 CET 2012
Benjamin Tyner <btyner <at> gmail.com> writes:
>
> Hello,
>
> Is it possible to retrieve the 'named' field within the header (sxpinfo)
> of a object, without resorting to a debugger, external code, etc?
And much more than just NAMED :
.Internal(inspect(x))
> The goal is to ascertain whether a copy of an object has been made.
Then :
?tracemem
One demonstration of using both together is here :
http://stackoverflow.com/a/10312843/403310
Matthew
More information about the R-devel
mailing list