as.character.Object.Rd
Gets a character string representing the object. In the class Object, this method simply returns the class name and the hashCode() value of the object.
# S3 method for class 'Object'
as.character(x, ...)
Returns a character
string representation of the Object. By default it
is "{class name}: {hash code}".
For more information see Object
.
obj <- Object()
as.character(obj) # "Object: 0x000000000ab6a7a8"
#> [1] "Object: 0x600f7bd8eec8"