timecat <- function(s, ...) {
cat(sprintf("[%s] %s", Sys.time(), s), ...)
}
sstr <- function(object, ...) {
sprintf("%s\n%s\n",
sprintf("str(%s):", deparse(substitute(object))),
paste0(capture.output(str(object, ...)), collapse = "\n"))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.