Learn R Programming

SpaDES.core (version 0.2.4)

objSize.simList: Object size for simLists

Description

Recursively, runs object.size on the simList environment. Currently, this will not assess object.size of the other elements.

Usage

# S3 method for simList
objSize(x, quick = getOption("reproducible.quick",
  FALSE))

Arguments

x

An object

quick

Logical. Only some methods use this. e.g., Path class objects. In which case, file.size will be used instead of object.size.

Examples

Run this code
# 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