| example_app | R Documentation |
Returns the path to a bundled example application directory. Use this
path as the appdir argument to export().
example_app(name)
name |
Character string. Name of the example (see |
Character string. Path to the example app directory.
# Get the path to a bundled example
example_app("r")
example_app("python")
if (interactive()) {
# Pass the path to export() to build a desktop app
path <- example_app("r")
export(path, "output", app_type = "r-shiny", runtime_strategy = "system")
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.