R/cache-helpers.R
objSizeInclEnviros.RdThis is a generic definition that can be extended according to class.
.objSizeInclEnviros(object) # S4 method for ANY .objSizeInclEnviros(object) # S4 method for environment .objSizeInclEnviros(object)
| object | Any R object. |
|---|
A numeric, the result of object.size for all objects in environments.
a <- new.env() a$b <- 1:10 object.size(a)#> 56 bytes.objSizeInclEnviros(a) # much larger#> 344 bytes