#' Get object sizes in .GlobalEnv
#'
#' @export
#'
objSize <- function() {
out <- sort(sapply(ls(envir = .GlobalEnv), function(x) {
object.size(get(x))
}), decreasing = TRUE)
return(as.data.frame(out))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.