R/dot_runApp.R

Defines functions .runApp

Documented in .runApp

.runApp <- function(app, ...) {  
    ## selectively use the RStudio viewer pane (if available)
    viewer <- getOption("viewer")
    if (!is.null(viewer) && is.function(viewer)) {
        runApp(app, launch.browser = viewer, ...)
    } else {
        runApp(app, ...)
    }
}
LiNk-NY/interactiveDisplayBase documentation built on June 2, 2020, 12:02 a.m.