Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shiny: What is the option setting to display in the console the messages between server and ui

Tags:

I remember having used an option setting that enable to print in the R console the messages between the server and ui while a shiny app is running. This option is really useful to understand what is happening in the app. However I cant remember the name of that option and can not find it anymore in the documentation. Can someone can tell what is that option ? Thanks!

like image 579
user2147028 Avatar asked Apr 11 '14 02:04

user2147028


People also ask

What is UI and server in R shiny?

Shiny applications have two components, a user interface object and a server function, that are passed as arguments to the shinyApp function that creates a Shiny app object from this UI/server pair.

What is UI in shiny?

Shiny uses the function fluidPage to create a display that automatically adjusts to the dimensions of your user's browser window. You lay out the user interface of your app by placing elements in the fluidPage function.


2 Answers

I finally found it :

options(shiny.trace=TRUE) 

Before running the app. I find it extremely useful to understand what is appending. I don't know why it is not more documented.

like image 174
user2147028 Avatar answered Sep 22 '22 06:09

user2147028


R Studio lists a nice summary of R Shiny global options available here

You may wish to turn both of these on: options(shiny.trace=TRUE) options(shiny.fullstacktrace=TRUE)

like image 25
SteveMW Avatar answered Sep 21 '22 06:09

SteveMW