# A lookup-only-once version of capabilities("profmem")
# Benchmarking shows it's 8-10 times faster this way.
capableOfProfmem <- local({
  res <- NA
  function() {
    if (is.na(res)) {
      res <<- capabilities("profmem")
    }
    res
  }
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.