Description Usage Arguments Value See Also Examples
Attach commands for starting shiny application using runApp or golem commands to the reactor object.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 | set_runapp_args(
obj,
appDir = getwd(),
test_port = httpuv::randomPort(),
test_path = tempdir(),
test_ip = getOption("shiny.host", "127.0.0.1"),
test_trace = FALSE,
verbose = TRUE
)
set_golem_args(
obj,
package_name = "",
test_port = httpuv::randomPort(),
test_path = tempdir(),
test_ip = getOption("shiny.host", "127.0.0.1"),
test_trace = FALSE,
verbose = TRUE
)
|
obj |
reactor object |
appDir |
The application to run. Should be one of the following (Default: getwd()):
|
test_port |
integer, port to run the app on. Default: httpuv::randomPort() |
test_path |
character, Path the child process will have access to on the master, Default: tempdir() |
test_ip |
The IPv4 address that the application should listen on. |
test_trace |
logical, turn on the shiny.trace option in the background proccess?. Default: FALSE |
verbose |
logical, reactor willn notify the action taken. Default: TRUE |
package_name |
name of the golem package |
reactor object
Other application:
runApp_args()
Other application:
runApp_args()
1 2 3 4 5 6 | ## Not run:
if(interactive()){
#EXAMPLE1
}
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.