Skip to contents

These functions are re-exported from shiny for convenience, so you can use them in irid apps without loading shiny explicitly.

Value

The return values are those of the underlying shiny functions:

  • reactiveVal() returns a function that reads the current value when called with no argument and sets it when called with one value.

  • reactive() returns a reactive expression (a function of class reactiveExpr/reactive) that yields the cached expression value when called.

  • observe() and observeEvent() return an observer reference object (class Observer) invisibly; they are called for their side effects.

  • isolate() returns the value of expr, evaluated without taking a reactive dependency.

  • tags is a named list of functions that construct HTML tag objects, and tagList() returns a list of tags (class shiny.tag.list).

Details

  • reactiveVal(): Create a reactive value

  • reactive(): Create a reactive expression

  • observe(): Create an observer

  • observeEvent(): Create an event-driven observer

  • isolate(): Run an expression without reactive dependencies

  • tags: HTML tag builder

  • tagList(): Combine tags into a list

See the shiny documentation for full details.