R/zzz.R

.onLoad <- function(libname, pkgname) {
  tryCatch({
    if (is.function(httpuv::startDaemonizedServer))
      options(epivizrCanDaemonize=.Platform$OS.type == "unix")
  }, error=function(e) {
    options(epivizCanDaemonize=FALSE)
  })
}
epiviz/epivizr-tmp documentation built on May 16, 2019, 8:19 a.m.