#' Function to print R object pretty size
#'
#' @param obj An R object.
#'
#' @author Andreas Scharmueller, \email{andschar@@proton.me}
#'
#' @export
#'
#' @examples
#' size(iris)
#'
size = function(obj) {
format(utils::object.size(obj), unit = 'auto')
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.