Shiny options

In R, under options(), some settings regarding the use of R in general can be seen, for example, the number of digits printed for a number. These options can be modified by typing options (option_name = value), for example:

options(digits = 15)

Shiny has several options that are exclusive to the library. Almost all of them are defaulted to NULL. However, they can be changed in the same way as any other R option. Probably, the most important ones among them are shiny.trace and shiny.error. For shiny.trace, if 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 (http://shiny.rstudio.com/reference/shiny/latest/shiny-options.html). For shiny.error

Get Learning Shiny now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.