launch_shinystan_detached: Launch shinystan as a detached R session

Description Usage Arguments Details Note See Also

View source: R/launch_shinystan_detached.R

Description

Launch shinystan as a detached R session

Usage

1
2
launch_shinystan_detached(object, port = getOption("shiny.port", 8080),
  quiet = FALSE)

Arguments

object

The object to pass to launch_shinystan, typically a shinystan or stanfit object.

port

Port that shinystan will bind. Uses the "shiny.port" option if set and defaults to 8080 otherwise.

quiet

If TRUE, do not print anything.

Details

The 'object' is first compressed and written to disk in a temporary file (see 'tempfile'). A separate R session is started (using 'system') where the object is read and 'launch_shinystan' is called. When shinystan is closed, the temporary file is deleted.

Note

Requires 'shinystan' although it is not an explicit dependency.

See Also

shinystan::launch_shinystan


antoine-sachet/customFunctions documentation built on Sept. 25, 2020, 8:56 p.m.