14 The reactive graph

14.4.5 Exercises

  • Reactives are not run because there are no outputs. Server function only contains inputs and reactive expressions.
  1. The graph will take
  • 1 second to recompute if x1 changes,
  • 2 seconds to recompute if x2 changes and
  • 1 second to recompute if x3 changes.

Please find the reactive graph below which is generated using the reactlog package. For further details, please refer to The reactlog package in Mastering Shiny book.

  1. When we start the session, y would not exist and thus y() would return an error since y is a reactive expression that consists of itself.