markRenderFunction

0th

Percentile

Mark a function as a render function

Should be called by implementers of renderXXX functions in order to mark their return values as Shiny render functions, and to provide a hint to Shiny regarding what UI function is most commonly used with this type of render function. This can be used in R Markdown documents to create complete output widgets out of just the render function.

Usage
markRenderFunction(uiFunc, renderFunc)
Arguments
uiFunc
A function that renders Shiny UI. Must take a single argument: an output ID.
renderFunc
A function that is suitable for assigning to a Shiny output slot.
Value

  • The renderFunc function, with annotations.

Aliases
  • markRenderFunction
Documentation reproduced from package shiny, version 0.12.2, License: GPL-3 | file LICENSE

Community examples

Looks like there are no examples yet.