dash_app | R Documentation |
This is a convenience function that returns a Dash
R6 object.
For advanced usage, you can use the object as an R6 object directly instead
of the functions provided by the {dash}
package.
dash_app( title = NULL, update_title = "Updating...", assets_folder = "assets", assets_url_path = "/assets", assets_ignore = NULL, eager_loading = FALSE, serve_locally = TRUE, pathname_url_base = "/", pathname_routes_prefix = NULL, pathname_requests_prefix = NULL, compress = TRUE, suppress_callback_exceptions = FALSE, show_undo_redo = FALSE )
title |
(character) The browser window title. |
update_title |
(character) The browser window title while a callback
is being processed. Set to |
assets_folder |
(character) Path (relative to the current working
directory) containing extra files to be served by the browser. All files
with ".js" or ".css" extensions will automatically be included on the page,
unless excluded with |
assets_url_path |
(character) URL path for serving assets. For
example, a value of "www" means that any request path that begins with
"/www" will be mapped to the |
assets_ignore |
(character) Regular expression for ".js" and ".css" files that should not be automatically included. Ignored files will still be served if explicitly requested. Note that you cannot use this to prevent access to sensitive files since ignored files are accessible by users. |
eager_loading |
(logical) Whether asynchronous resources are
prefetched ( |
serve_locally |
(logical) Whether to serve HTML dependencies locally or remotely (via URL). |
pathname_url_base |
(character) Local URL prefix to use app-wide. |
pathname_routes_prefix |
(character) Prefix applied to the backend
routes. Defaults to |
pathname_requests_prefix |
(character) Prefix applied to request
endpoints made by Dash's front-end. Defaults to |
compress |
(logical) Whether to try to compress files and data. If
|
suppress_callback_exceptions |
(logical) Whether to relay warnings about possible layout mis-specifications when registering a callback. |
show_undo_redo |
(logical) If |
run_app()
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.