.global <- new.env()
initResourcePaths <- function() {
if (is.null(.global$loaded)) {
shiny::addResourcePath(
prefix = 'shinyAce',
directoryPath = system.file('www', package='shinyAce'))
.global$loaded <- TRUE
}
HTML("")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.