All Questions
42
questions
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 ...
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: "...
5
votes
3
answers
1k
views
How to automate nested sections in Rmds which include text, maps and tables
I found several examples (How to extract the content of SQL-Files using R,
Use loop to generate section of text in rmarkdown,
Automating the generation of preformated text in Rmarkdown using R), but ...
2
votes
2
answers
1k
views
Leaflet maps not appearing in tabbed HTML document output from Rmarkdown
I've used R Markdown to create a HTML document with tabbed sections and each tab should include one Leaflet map. When I run the code, the Leaflet maps only appear in the first two tabs of the HTML ...
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
1
answer
1k
views
Improving Performance of a leaflet
I am trying to plot a map using Leaflet on Flexdashboard, output : html. I have a 50,000 data points i needed to plot. i tried using addCircleMarker(lng,lat) and it works in Base R but when the output ...
7
votes
1
answer
2k
views
Center leaflet in a rmarkdown document
I want to create an html document with a centered leaflet widget inside it.
---
title: "Exemple"
author: "Antoine Bichat"
date: "31/08/2018"
output: html_document
---
```{r leaflet, fig.align="...
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 ...
1
vote
1
answer
463
views
Leaflet in ioslides_presentation puts unnecessary white space in box to toggle layers. Way to reduce size of box?
I'm making a presentation using ioslides_presentation and am embedding an interactive map using Leaflet. The white box used to toggle different layers has a lot of unnecessary white space. This is not ...
6
votes
1
answer
2k
views
How to render leaflet-maps in loops in RMDs with knitr
I am currently fighting trying to get knitr to render my leaflet maps, taken from a collection to appear correctly in a rendered RMD html-output. I'm already aware about some potential problems when ...
0
votes
1
answer
2k
views
How to change circle colours in leaflet based on a variable?
For a certain online course, I made a quick interactive map using leaflet in Rmarkdown and published it to Rpubs. The data is about world cities and their population.
I was trying to make colour ...
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 ...
2
votes
1
answer
2k
views
Leaflet map won't render in browser
I have a map using Leaflet which works in the html output of r markdown, but the map won't render when I open the html in Google or IE. Ggmap works fine, but I'd prefer an interactive map. Any ideas?
...
2
votes
1
answer
370
views
Leaflet map tiles not visible in reveal.js presentation within R?
Intro:
I am trying to embed a leaflet map into a revealjs presentation within an RMarkdown file. My example below is pretty close, but it is (1) missing tiles, (2) the popups are not displaying, and ...
0
votes
2
answers
2k
views
How can I insert HTML widget objects (Leaflet map or HTML table) in an HTML markdown document?
I have tried a number of things including print(leafletMap) and just calling the object itself. Is there a specific function that I am to wrap my object in in order to get it to render in the document?...