R/utils.R
size.Rd
Size of an object
size( x, level1 = FALSE, units = "auto", sort = TRUE, decreasing = FALSE, byteTol = 0, asNumeric = FALSE )
- any R object
size(1) #> [1] "56 bytes" size(rep(1, 1e3)) #> [1] "7.9 Kb" size(rep(1L, 1e3)) #> [1] "4 Kb"