Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

shiny reactive log visualizer #62

Open
lgatto opened this issue Jan 31, 2016 · 0 comments
Open

shiny reactive log visualizer #62

lgatto opened this issue Jan 31, 2016 · 0 comments

Comments

@lgatto
Copy link
Owner

lgatto commented Jan 31, 2016

@lmsimp - this might be useful: from ?shiny::showReactLog:

Reactive Log Visualizer

Description:

     Provides an interactive browser-based tool for visualizing
     reactive dependencies and execution in your application.

Usage:

     showReactLog()

Details:

     To use the reactive log visualizer, start with a fresh R session
     and run the command ‘options(shiny.reactlog=TRUE)’; then launch
     your application in the usual way (e.g. using ‘runApp’). At any
     time you can hit Ctrl+F3 (or for Mac users, Command+F3) in your
     web browser to launch the reactive log visualization.

     The reactive log visualization only includes reactive activity up
     until the time the report was loaded. If you want to see more
     recent activity, refresh the browser.

     Note that Shiny does not distinguish between reactive dependencies
     that "belong" to one Shiny user session versus another, so the
     visualization will include all reactive activity that has taken
     place in the process, not just for a particular application or
     session.

     As an alternative to pressing Ctrl/Command+F3-for example, if you
     are using reactives outside of the context of a Shiny
     application-you can run the ‘showReactLog’ function, which will
     generate the reactive log visualization as a static HTML file and
     launch it in your default browser. In this case, refreshing your
     browser will not load new activity into the report; you will need
     to call ‘showReactLog()’ explicitly.

     For security and performance reasons, do not enable
     ‘shiny.reactlog’ in production environments. When the option is
     enabled, it's possible for any user of your app to see at least
     some of the source code of your reactive expressions and
     observers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant