.onLoad <- function(...) {
if (is.null(asNamespace("emitters")$.event_loop)) {
assign(".event_loop", EventLoopWrapper$new(), envir = parent.env(environment()))
}
init_duplex()
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.