R/init.R

.global <- new.env()

initResourcePaths <- function() {
  if (is.null(.global$loaded)) {
    shiny::addResourcePath(
      prefix = 'shinyRGL',
      directoryPath = system.file('www', package='shinyRGL'))
    .global$loaded <- TRUE
  }
  HTML("")
}

Try the shinyRGL package in your browser

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

shinyRGL documentation built on May 2, 2019, 4:57 a.m.