Adding Leaflet Map including LeafletProxy in R Markdown download in Shiny App
I’m attempting to create a Shiny app which includes a map, and a downloadable Markdown report which has a copy of that map. I’m using the mapshot
package, since it has the option to remove the zoom controls from the screenshot. However, I’m having difficulty with accessing the map inside the downloadHandler. I’ve tried leaflet(map)
and leafletProxy('map)
, but both of these either return errors or blank images. How can I fix the below code so that the map in the state it is in when the user clicks the button is inserted into the markdown document?
Adding Leaflet Map including LeafletProxy in R Markdown download in Shiny App
I’m attempting to create a Shiny app which includes a map, and a downloadable Markdown report which has a copy of that map. I’m using the mapshot
package, since it has the option to remove the zoom controls from the screenshot. However, I’m having difficulty with accessing the map inside the downloadHandler. I’ve tried leaflet(map)
and leafletProxy('map)
, but both of these either return errors or blank images. How can I fix the below code so that the map in the state it is in when the user clicks the button is inserted into the markdown document?
Adding Leaflet Map including LeafletProxy in R Markdown download in Shiny App
I’m attempting to create a Shiny app which includes a map, and a downloadable Markdown report which has a copy of that map. I’m using the mapshot
package, since it has the option to remove the zoom controls from the screenshot. However, I’m having difficulty with accessing the map inside the downloadHandler. I’ve tried leaflet(map)
and leafletProxy('map)
, but both of these either return errors or blank images. How can I fix the below code so that the map in the state it is in when the user clicks the button is inserted into the markdown document?
Style Table cell color with more than one condition
I have two conditions for color highlighting but all categories are highlighted based on one condition. The following logic is not inclusive:
Style Table cell color with more than one condition
I have two conditions for color highlighting but all categories are highlighted based on one condition. The following logic is not inclusive:
Style Table cell color with more than one condition
I have two conditions for color highlighting but all categories are highlighted based on one condition. The following logic is not inclusive:
Style Table cell color with more than one condition
I have two conditions for color highlighting but all categories are highlighted based on one condition. The following logic is not inclusive:
Style Table cell color with more than one condition
I have two conditions for color highlighting but all categories are highlighted based on one condition. The following logic is not inclusive:
Style Table cell color with more than one condition
I have two conditions for color highlighting but all categories are highlighted based on one condition. The following logic is not inclusive:
How to stop reload after download button has been used (in R Shiny)?
I use downloadLink() within R Shiny. If this was used, i.e. clicked on, the whole app, or in my case the Quarto Dashboard, reloads. So the users end up back on the start page, which is not good for the user experience.