restartEpiviz: Restart epiviz app connection and workspace.

Description Usage Arguments Value Examples

View source: R/restartEpiviz.R

Description

Restart epiviz app connection and workspace.

Usage

1
restartEpiviz(file, open_browser = TRUE, host = NULL, envir = parent.frame())

Arguments

file

(character) The name of the file that holds the EpivizApp object to be restarted, ending in .rda.

open_browser

(logical) browse to the epiviz URL before exiting function.

host

(character) name of epiviz app host to open at restart

envir

(environment) environment in which to evaluate expressions needed to reconstruct data sources

Value

An object of class EpivizApp

Examples

1
2
3
4
5
6
7
# see package vignette for example usage
app <- startEpiviz(non_interactive=TRUE, open_browser=TRUE)
file_name <- tempfile(fileext=".rda")
app$save(file=file_name)
app$stop_app()

app <- restartEpiviz(file=file_name, open_browser=FALSE)

epiviz/epivizr documentation built on Aug. 5, 2021, 6:37 p.m.