objects_size | R Documentation |
Shows the size of the objects currently in the R environment. Helps to locate large objects cluttering the R environment and/or causing memory problems during the execution of large workflows.
objects_size(n = 10)
n |
Number of objects to show, Default: |
A data frame with the row names indicating the object name, the field 'Type' indicating the object type, 'Size' indicating the object size, and the columns 'Length/Rows' and 'Columns' indicating the object dimensions if applicable.
if(interactive()){ #creating dummy objects x <- matrix(runif(100), 10, 10) y <- matrix(runif(10000), 100, 100) #reading their in-memory size objects_size() }
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.