cp <- function(x) Filter(Negate(is.null), x)
last <- function(x) x[length(x)]
strextract <- function(str, pattern) regmatches(str, regexpr(pattern, str))
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.