R/zzz.R

Defines functions .onLoad

.onLoad <- function(libname, pkgname) {
  tryCatch({
    if (is.function(httpuv::startDaemonizedServer))
      options(epivizrCanDaemonize = .Platform$OS.type == "unix")
  }, error=function(e) {
    options(epivizCanDaemonize = FALSE)
  })
}

Try the epivizrServer package in your browser

Any scripts or data that you put into this service are public.

epivizrServer documentation built on Nov. 8, 2020, 11 p.m.