Skip to content

reactlog_write() output can not be used after being read back #71

Description


How to download the intreactive Reactlog

I want to download or store the html file produced by reactlog so that i can see it later even if the program is closed or the reactlog is reset.
There is a reactlog_write() function that puts it into a json file but how to use that json file again to create or generate the reactlog.

library(shiny)
library(reactlog)
# tell shiny to log all reactivity

reactlog_enable()
reactlogReset()

# run a shiny app
app <- system.file("examples/01_hello", package = "shiny")
runApp(app)

# once app has closed, display reactlog from shiny
shiny::reactlogShow()
reactlog_write(reactlog(),file = "test1.json")

image


How to use this file test1.json to produce the interative reactlog again ?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions