getInternalAddress.Object.Rd
Gets the memory location where the Object resides.
# S3 method for class 'Object'
getInternalAddress(this, format=c("numeric", "hexstring"), ...)
A character
string specifying what format to return.
Not used.
The address is returned as a numeric
integer if
format == "numeric"
, and as a character
string if
format == "hexstring"
.
obj <- Object()
getInternalAddress(obj, format="numeric") # 179742632
#> [1] 1.056197e+14
getInternalAddress(obj, format="hexstring") # "0x000000000ab6a7a8"
#> [1] "0x600f7ddc9e68"