Description Usage Arguments Details
Loads all of the supporting R files of a Shiny application. Specifically,
this function loads any top-level supporting .R
files in the R/
directory
adjacent to the app.R
/server.R
/ui.R
files.
1 2 | loadSupport(appDir, renv = new.env(parent = globalenv()),
globalrenv = globalenv())
|
appDir |
The application directory |
renv |
The environmeny in which the files in the |
globalrenv |
The environment in which |
At the moment, this function is "opt-in" and only called if the option
shiny.autoload.r
is set to TRUE
.
The files are sourced in alphabetical order (as determined by
list.files). global.R
is evaluated before the supporting R files in the
R/
directory.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.