#stops the shiny app when closing session
session$onSessionEnded(function() {
JuliaSetup(remove_cores = TRUE)
unlink(tempdir(), recursive = TRUE)
stopApp()
})
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.