Preview app
1 2 | preview_app(my_html, user_function = identity, server = F, assets_folder,
...)
|
my_html |
html in a vector of strings; output from 'create_html'. |
user_function |
R function; the function to process the data from the web interface. |
server |
T or F; whether to enable interaction between JS and R. |
assets_folder |
path of the assets. |
... |
Additional parameters passed to 'start_app'. |
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.