View source: R/code_used_by_external_modules.R
Get_Code_Declare_rv_custom | R Documentation |
This function create the source code needed inside a module to declare the reactive variable called 'rv.custom.default.values'. # Declaration of the variables that will contain the values of the user variables. To avoid confusion, the first string is the name of the step while the second is the name of the widget
Get_Code_Declare_rv_custom(rv.custom.names = NULL)
rv.custom.names |
A 'list' containing the names of the custom values. |
Samuel Wieczorek
## Not run: custom <- list(foo1 = list(), foo2 = 3) code <- Get_Code_Declare_rv_custom(names(custom)) cat(code) ## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.