powered by
Gets the memory location where the Object resides.
# S3 method for Object getInternalAddress(this, format=c("numeric", "hexstring"), ...)
A character string specifying what format to return.
character
Not used.
The address is returned as a numeric integer if format == "numeric", and as a character string if format == "hexstring".
numeric
format == "numeric"
format == "hexstring"
getName(). For more information see Object.
getName()
Object
# NOT RUN { obj <- Object() getInternalAddress(obj, format="numeric") # 179742632 getInternalAddress(obj, format="hexstring") # "0x000000000ab6a7a8" # }
Run the code above in your browser using DataLab