R/interactiveDisplayBase.R

################################################################################
###   Main
################################################################################

## declare the display generic
setGeneric("display", function(object, ...)
  standardGeneric("display")
)

setMethod("display",
signature(object = "ANY"),
function(object){
  message("Wrong object")
})

setMethod("display",
signature(object = "missing"),
function(object){
  message("Missing object")
})

Try the interactiveDisplayBase package in your browser

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

interactiveDisplayBase documentation built on Nov. 8, 2020, 8:12 p.m.