powered by
Calculate the sizes of all of the objects in one's workspace.
objectsizes(obj = NULL, sortbysize = TRUE)
A data frame with the only column being the size of each object in megabytes (MB). The row names are the names of the objects.
Vector of object names. If missing, we pull out all object names.
If TRUE, sort the objects from smallest to largest.
Calls utils::object.size() repeated to get the size of a list of objects.
utils::object.size()
utils::object.size(), base::objects()
base::objects()
print(output <- objectsizes()) if (FALSE) sum(output)
Run the code above in your browser using DataLab