All Questions
6
questions
0
votes
1
answer
31
views
appendContent can't be used in a Shiny render call
The funciton addSearchGoogle from leaflet.extras is throwing this error in a Shiny-app:
Warning in renderWidget(instance) : Ignoring appended content;
appendContent can't be used in a Shiny render ...
0
votes
1
answer
69
views
How to write/share an html document created in R using crosstalk and leaflet
I've created a filterable map using crosstalk and leaflet in R, and I'd like to share this with coworkers as a standalone document:
library(leaflet)
library(htmltools)
library(htmlwidgets)
#example ...
0
votes
0
answers
434
views
reduce file size of exported leaflet html by linking several layers to the same data (json) instead of keeping the information separately
Generating leaflet html's easily results in a 50-75 MB file (depending on the number of layers). However, they can be zipped to reduce the file size by factors. So i guess there is lots of repetitive ...
1
vote
1
answer
301
views
Shiny Leaflet Slow with HTML Labels
I'm building a shiny app with a leaflet map that updates based on user selection. When I got to working on the labels for shiny, I noticed my performance dropped upon hitting my action button to ...
3
votes
0
answers
436
views
change size of plots in htmltools::taglist R markdown
I am trying to use a loop in Rmarkdown that prints a leaflet map and plotly graph side by side (the loop iterates through vegetation types). I am having trouble getting the side-by-side to have the ...
3
votes
1
answer
2k
views
R code to save shiny.tag.list to html as the viewer->export->save as web page button does
I have a leaflet map that I have modified to have a special CSS for popups following the suggestions here. Now I want to save the result as an HTML web page. The resulting object is of type shiny.tag....