options(shiny.trace=TRUE)
.
runApp
for more information.
runApp
for more information.
TRUE
, all of the messages sent between the R
server and the web browser client will be printed on the console. This
is useful for debugging.
TRUE
when a Shiny app is launched, the
app directory will be continually monitored for changes to files that
have the extensions: r, htm, html, js, css, png, jpg, jpeg, gif. If any
changes are detected, all connected Shiny sessions are reloaded. This
allows for fast feedback loops when tweaking Shiny UI.Since monitoring for changes is expensive (we simply poll for last modified times), this feature is intended only for development.
You can customize the file patterns Shiny will monitor by setting the
shiny.autoreload.pattern option. For example, to monitor only ui.R:
option(shiny.autoreload.pattern = glob2rx("ui.R"))
The default polling interval is 500 milliseconds. You can change this
by setting e.g. option(shiny.autoreload.interval = 2000)
(every
two seconds).
TRUE
, enable logging of reactive events,
which can be viewed later with the showReactLog
function.
This incurs a substantial performance penalty and should not be used in
production.
plotPNG
for more
information.
isolate()
) results in
an error. If this is TRUE
, don't error in these cases. This
should only be used for debugging or demonstrations of reactivity at the
console.
runApp
for more information.
TRUE
or unset (the default), then
Shiny will use minified JavaScript (shiny.min.js
). If
FALSE
, then Shiny will use the un-minified JavaScript
(shiny.js
); this can be useful during development.
options(shiny.error=recover)
will result a
the debugger prompt when an error occurs.
shinyDeprecated
for more information.
FALSE
(pretty stack traces).
TRUE
, then Shiny's printed stack
traces will display srcrefs one line above their usual location. This is
an arguably more intuitive arrangement for casual R users, as the name
of a function appears next to the srcref where it is defined, rather than
where it is currently being called from.