restartEpiviz {epivizr} | R Documentation

## Restart epiviz app connection and workspace.

### Description

Restart epiviz app connection and workspace.

### Usage

    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

    # 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)

[Package epivizr version 2.22.0 Index]