Hello, Is it possible to retrieve the 'named' field within the header (sxpinfo) of a object, without resorting to a debugger, external code, etc? In other words is there a built-in equivalent to the "getnamed" subroutine described here: http://tolstoy.newcastle.edu.au/R/e2/devel/07/09/4496.html The goal is to ascertain whether a copy of an object has been made. Thanks, Ben
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