#' List of object sizes
#'
#' Returns the object sizes of all objects in memory.
#'
#' @return NULL
#'
#' @importFrom utils object.size
#'
#' @examples
#' \dontrun{
#' WindowsMT.memory()
#' }
#'
#' @export
WindowsMT.memory <- function() {
return(sort(sapply(ls(), function(x) {object.size(get(x))})))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.