#' Return data.table with lag
#' @param x Name of object
#' @return Prints string with x's size, units chosen automatically
#' @import data.table
#' @export
obj_size <- function(x) {
print(object.size(x), units="auto")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.