powered by
Calculate the sizes of all of the objects in one's workspace.
objectsizes(obj = NULL, sortbysize = TRUE)
Vector of object names. If missing, we pull out all object names.
If TRUE, sort the objects from smallest to largest.
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.
Calls object.size repeated to get the size of a list of objects.
object.size
object.size, objects
objects
# NOT RUN { print(output <- objectsizes()) # } # NOT RUN { sum(output) # } # NOT RUN { # }
Run the code above in your browser using DataLab