portalcasting app server | R Documentation |
Generate the Server Code for the Web App
app_events()
app_server(input, output, session)
initial_reactive_values(global = global_list())
initial_output(main = ".", global, rv, output)
event_reaction(main, global, event, rv, input, output, session)
update_reactive_values(event, rv, input)
update_output(main, global, event, rv, input, output)
update_input(global, event, rv, input, session)
input |
|
output |
|
session |
Environment for the UI. |
global |
A |
main |
|
rv |
|
event |
|
app_server
: an observer reference class object (see observeEvent
and observe
).
initial_reactive_values
: a reactiveValues
list
.
initial_output
: an output
list
.
event_reaction
: updates the rv
, output
, and input
list
s, but does not return them, per se.
update_reactive_values
: a reactiveValues
list
.
update_output
: an output
list
.
update_input
: updates the input
list
, but does not return it.
app_events
: character
vector of event names.
Other shinyapp:
portalcasting app selection helpers
,
portalcasting app ui
,
portalcasting app
## Not run:
main1 <- file.path(tempdir(), "app")
setup_dir(main = main1)
global <- global_list(main = main1)
rv <- initial_reavtive_values(global = global)
output <- initial_output(main = main1,
global = global,
rv = rv,
output = list())
unlink(main1, recursive = TRUE)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.