File: dot_runApp.R

package info (click to toggle)
r-bioc-interactivedisplaybase 1.20.0%2Bdfsg-1
  • links: PTS, VCS
  • area: main
  • in suites: buster
  • size: 120 kB
  • sloc: makefile: 2
file content (9 lines) | stat: -rw-r--r-- 277 bytes parent folder | download | duplicates (5)
1
2
3
4
5
6
7
8
9
.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, ...)
    }
}