powered by
simList
Recursively, runs objSize on the simList environment, so it estimates the correct size of functions stored there (e.g., with their enclosing environments) plus, it adds all other "normal" elements of the simList, e.g., object.size(completed(sim)).
objSize
object.size(completed(sim))
# S3 method for simList objSize( x, quick = getOption("reproducible.quick", FALSE), enclosingEnvs = TRUE, .prevEnvirs = list(), ... )
An object
Logical. Only some methods use this. e.g., Path class objects. In which case, file.size will be used instead of object.size.
Path
file.size
object.size
Logical indicating whether to include enclosing environments. Default TRUE.
TRUE
For internal account keeping to identify and prevent duplicate counting
Additional arguments (currently unused)
# NOT RUN { a <- simInit(objects = list(d = 1:10, b = 2:20)) objSize(a) object.size(a) # }
Run the code above in your browser using DataLab