'How can I get reactlog to render on its own webpage using flexdashboard?
I am successful in rendering 'reactlog' when I use flexdshboard, but it renders within the dashboard and is way too small in size - even for this minimal example. How can I get it to render on its own webpage?
I tried using shiny::reactlogShow() after the session both with and without the reactlog_module_server() line in the server code to no avail. shiny::reactlogShow() brings up its own webpage, but it is blank. Sample code is provided.
    ---
    title: "Untitled"
    output:
     flexdashboard::flex_dashboard:
       orientation: rows
      
        
    runtime: shiny
    ---
    
    ```{r setup, include=FALSE}
    
    
    library(shiny)
    library(reactlog)
    reactlog_enable()        # Enable reactlog
    library(flexdashboard)
    
    ```
    
    
    ###
    
    
    ```{r}
    
    ## Inputs
    
    
    shiny::numericInput(
       inputId = "a",
       label = "Input 'a'",
       value = 3
     
    )
    
    shiny::numericInput(
       inputId = "b",
       label = "Input 'b'",
       value = 4
     
    )
    
    ### start ui module
    reactlog_module_ui()
    
    
    ```
    
    
    ###
    
    
    ```{r}
    
    ## Output
    
    
    
    a2 <- eventReactive(input$a,
          { a <- input$a^2
            a 
      })
    
    b2 <- eventReactive(input$b,
          { b <- input$b^2
            b
      })
    
     c2 <- reactive(
       { x <- a2() + b2()
         x
      })
     
     c <- reactive(
       { y <- sqrt( c2() )
         y
     })
    
    
    
    renderPrint({
       
     c()
       
    })
    
    
    ### start server module
    reactlog_module_server()
Solution 1:[1]
You can remove the calls to reactlog_module_ui() and  reactlog_module_server().
While running your {reactlog} enabled dashboard, pressing Ctrl+F3 at any time will open the reactlog visulizer in a new window.
Solution 2:[2]
After conversing with the package's author, Dr. Schloerke, he graciously guided me in the right direction. As with HubertL's response, he advised I remove the calls to reactlog_module_ui() and reactlog_module_server(). He added that I need to press “Cmd + Fn + F3” on my Mac keyboard.
That did the trick. Reactlog now opens in its own full broswer.
Sources
This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.
Source: Stack Overflow
| Solution | Source | 
|---|---|
| Solution 1 | HubertL | 
| Solution 2 | 123blee | 


