appInitHandler | R Documentation |
@param initHandler a function that takes parameters session, input, output and app. It will be called from the app$server function whenever a new session is created. It allows to initialize session specific variables and e.g. store them within the app object. The passed app object is already the local copy created for the new session.
appInitHandler(initHandler, app = getApp())
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.