All Questions
14
questions with no upvoted or accepted answers
4
votes
0
answers
494
views
Can R's htmltools::includeHTML not handle leaflet maps?
I try to use the concept from here in an automated way, but maps are not displayed. The included html looks ok:
Minimal reproducible example: For the generation of the html see below or.
---
title: "...
3
votes
0
answers
265
views
R Leaflet map not being created inside for loop in flexdashboard
Leaflet maps can be manually duplicated within the same section, but they do not appear when being called from inside a for loop (or a while loop). Below is an minimal example. Using htmltools::...
2
votes
0
answers
238
views
RMarkdown cyrillic encoding of leaflet popup
On my windows machine I got this encoding problems. I'm making an interactive map using leaflet and rmarkdown. The point is, that map title and popup should be in Russian. When I'm just creating a ...
1
vote
0
answers
108
views
Leaflet not generating properly in dynamic R markdown document
I have asked this question before here.
Initially the focus was on a point map, which the answer fixed. However looking at clustered and heatmaps, the issue persists.
Point generates fine (fixed via ...
0
votes
0
answers
55
views
Why are my leaflet points stuck to the map edge?
I try to plot transit stops on a leaflet map, indicating local clustering ("LISA"), based on Moran's I. The map is embedded in an R markdown file.
I've successfully done that with polygon ...
0
votes
0
answers
87
views
Multipage flexdashboard leaflet map issues
I have created a multipage flexdashboard app (.Rmd) in R using shiny runtime. One of the pages is a leaflet map with a large polygon layer. The map initially draws as it should but after I browse ...
0
votes
1
answer
1k
views
How to include a leaflet map (html widget) into a Word or PowerPoint document?
I teach Leaflet to my students to map and analyze spatial data.
I would like them to present some of their work in PowerPoint, Word, and/or PDF while maintaining the interactive features of the ...
0
votes
0
answers
219
views
Embedded Shiny Error in R Markdown : object params not found
I am attempting to embed a choropleth graph using leaflet & shiny within a R Markdown document. The code worked fine as a chunk, but produces an error when ran altogether. Everything else in the R ...
0
votes
1
answer
42
views
Mapping San Antonio City Park boundaries
I'm trying to create an interactive Markdown webpage in R-studio.
I need to use the leaflet package to complete this assignment.
I want my map to display polygon shapes that display park boundaries in ...
0
votes
1
answer
559
views
For Leaflet in R, can you add a button that adds and removes polygons for each map layer?
If we just take a standard leaflet map like the one below:
library(leaflet)
library(maps)
mapStates = map("state", fill = TRUE, plot = FALSE)
leaflet(data = mapStates) %>% addTiles() %&...
0
votes
0
answers
588
views
Static leaflet map markers cut off when knit to PDF in R markdown
I am trying to produce a static map via the leaflet package so I can knit it to a PDF using markdown but the circle markers on the map keep getting cut off and I can't for the life of me figure out ...
0
votes
1
answer
771
views
Flexdashboard not loading when using Leaflet
I have recently discovered the leaflet package and Flexdashboard and have no troubles using them separately.
However when I try to integrate a leaflet map into my Flexdashboard, nothing happens when I ...
0
votes
0
answers
432
views
Have R script automatically create and update leaflet map/Rpubs or shiny app
I'm tracking birds with satellite telemetry units, and I'm visualizing/sharing the data using a leaflet map and RPubs. I download the telemetry data 1-2 times per week, run the code below to create a ...
0
votes
0
answers
1k
views
R looks in the wrong place for html dependency
I am trying to knit a flexdashboard to an html file. My flexdashboard includes leaflet maps. The knit.md file compiles correctly. At the last stage, converting the knit.md to an html file, I get an ...