Updating reactlog to reactlog 2.0

#1

Hi all,

I just saw Barret Schloerke's presentation about reactlog 2.0, which looks awesome. I tried installing via github as recommended:

library(shiny)
library(reactlog)

# tell shiny to log reactivity
options("shiny.reactlog" = TRUE)
shiny::runApp()

but when I run show_reactlog(), I am still getting the old version of reactlog. Has anyone else had this problem and figured out how to use reactlog 2.0?

Thanks,

-Garren

0 Likes

#2

Maybe you are installing the new reactlog version just for your user, make sure to install it system wide.

0 Likes

#3

Just want to make sure I'm going about this correctly. I tried: devtools::install_github('rstudio/reactlog', lib = "/Library/Frameworks/R.framework/Versions/3.5/Resources/library")
but this doesn't seem to fix it.

0 Likes

#4

Hi,

I have the same problem here. :frowning:
I notice I have similar issue when i try to run the exemple from the documentation ("Usage Section" : https://rstudio.github.io/reactlog/) : the old reactlog appears.

0 Likes

#5

To use the new reactlog, I'm fairly certain you need to have reactlog installed and shiny v1.3 or higher (i.e., install the latest versions of reactlog/shiny with):

install.packages("reactlog")
install.packages("shiny")
1 Like