Learn R Programming

reproducible (version 0.2.11)

.objSizeInclEnviros: Determine object size of all objects inside environments

Description

This is a generic definition that can be extended according to class.

Usage

.objSizeInclEnviros(object)

# S4 method for ANY .objSizeInclEnviros(object)

# S4 method for environment .objSizeInclEnviros(object)

Arguments

object

Any R object.

Value

A numeric, the result of object.size for all objects in environments.

Examples

Run this code
# NOT RUN {
a <- new.env()
a$b <- 1:10
object.size(a)
.objSizeInclEnviros(a) # much larger

# }

Run the code above in your browser using DataLab