R/app.R

Defines functions retistruct

Documented in retistruct

##' Start the Retistruct GUI
##' @return Object with \code{getData()} method to return
##' reconstructed retina data and environment \code{this} which
##' contains variables in object.
##' @importFrom shiny shinyApp
##' @export
retistruct <- function() {
  ## Ensure options are reset on exit
  oldop <- options()
  on.exit(options(oldop))

  options(rgl.useNULL = TRUE) ## Prevents rgl from making its own window
  shinyApp(ui = ui, server = server)
}

Try the retistruct package in your browser

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

retistruct documentation built on April 3, 2025, 5:58 p.m.