You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have flexdashboard code that works when I run it within RStudio (using the "Run Document" button and viewing in RStudio's viewer - and also when clicking the "Open in Browser" button in viewer, it opens a system browser and works fine). However, if I use rmarkdown::render() to output it to an html file, the reactive leaflet maps no longer work and are blank. The maps that are output using leaflet() work, but not renderLeaflet().
f I run this example code with rmarkdown::render(input = "xxx.Rmd", output_file = "xxx.html"), the selectable Individual Cities maps do not work in the output html file, but the All Cities map works fine. I am guessing the shiny::selectInput() does not play well with renderLeaflet() in a flexdashboard scenario. Does anyone have a solution for this?
The text was updated successfully, but these errors were encountered:
source: Output flexdashboard with renderLeaflet to html
I have flexdashboard code that works when I run it within RStudio (using the "Run Document" button and viewing in RStudio's viewer - and also when clicking the "Open in Browser" button in viewer, it opens a system browser and works fine). However, if I use
rmarkdown::render()
to output it to an html file, the reactive leaflet maps no longer work and are blank. The maps that are output usingleaflet()
work, but notrenderLeaflet()
.for example:
f I run this example code with
rmarkdown::render(input = "xxx.Rmd", output_file = "xxx.html")
, the selectable Individual Cities maps do not work in the output html file, but the All Cities map works fine. I am guessing theshiny::selectInput()
does not play well withrenderLeaflet()
in a flexdashboard scenario. Does anyone have a solution for this?The text was updated successfully, but these errors were encountered: