Open MatthieuStigler opened 3 years ago
Could be session dependent! This works in reprex, not in my session:
library(tidyverse)
df_size <- tibble(object = ls(.GlobalEnv, all.names=all.names)) %>%
mutate(obj_size = map(.data$object, ~pryr::object_size(get(., envir = .GlobalEnv))))
Created on 2021-04-16 by the reprex package (v1.0.0)
See:
Created on 2021-04-16 by the reprex package (v1.0.0)