Skip to main content

All Questions

Tagged with
3 votes
1 answer
832 views

shiny app with downloadable md report, error: "pandoc: Could not find data file" when run by shiny-server

I created a shiny app that provides a download button. When pressed, a markdown report is created in html-format. Here is the app: server <- function(input, output) { output$report <- ...
Christoph Scholz's user avatar
4 votes
1 answer
573 views

Leaflet causing an error in with R Markdown

When I try to use R Markdown (in R Studio) along with Leaflet I get an error and it fails. Here is a simple R Markdown script along with the error I am getting. I have tried everything I can think of ...
David Wilkes's user avatar
7 votes
2 answers
6k views

How to arrange HTML Widgets inside of a RMarkdown Document (PDF, HTML)

I'm working in a R notebook and would like use it to create two ouptuts: an HTML document and PDF document. My analysis includes leaflet maps (html widgets), which is causing problems when I knit the ...
Tiernan's user avatar
  • 848
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::...
Youppi3's user avatar
  • 66
4 votes
2 answers
2k views

Sync two leaftlet maps on different tabs in RMarkdown with Shiny

Running into issues syncing two leaflet maps on different tabs. After looking at previous entries (Synchronizing two leaflet maps in R / Rmarkdown), the solution provided by @TimSalabim does not ...
jpf5046's user avatar
  • 797
3 votes
2 answers
2k views

Synchronizing two leaflet maps in R / Rmarkdown

JS leaflet allows two maps to be synchronized. See an example of synchronized leaflet maps here. I would like to implement synchronized leaflet maps in R and more specifially in Rmarkdown/knitr. ...
chamaoskurumi's user avatar
8 votes
1 answer
873 views

Incorporate Leaflet map in revealjs presentation within R

I'm trying to add a Leaflet map with tiles to a revealjs_presentation created in R. This map renders fine in ioslide or html format, but not in the revealjs_presentation format (main problems: all ...
Derek Darves's user avatar
6 votes
1 answer
8k views

how to include Leaflet (for R)-output into RMarkdown presentation?

According to the documentation, Leaflet output created with the "leaflet" package for R can be included into RMarkdown. This works when the RMarkdown output is html: --- title: "Rmarkdown HTML ...
Uden VH's user avatar
  • 177
6 votes
1 answer
2k views

render leaflet plots as raster in R?

I realize that this largely defeats the purpose of using an interactive leaflet map, but I'm writing a traditional paper book and I want to show how the leaflet package for R works. I'm writing the ...
beanumber's user avatar
  • 777
8 votes
2 answers
2k views

Q: Create leaflet map in for loop in rmarkdown html

I am trying to create a leaflet map with a for-loop in an rmarkdown file. Here is a minimal example: --- title: "Test" output: html_document --- ```{r quakes, echo=F} data(quakes) library(leaflet) ...
Afoy's user avatar
  • 137
1 vote
2 answers
190 views

Leaflet running fine on the console but not able to publish rmd document

I have this error when trying to deploy an rmd document. My code chunk runs ok and in console and the whole document looks good but when publishing i get this error "Error cannot open connection". ```...
Blas's user avatar
  • 575
0 votes
1 answer
1k views

How to suppress message of package leaflet?

I am using 'leaflet' package by R-studio to plot my geo-data. I am creating Rmarkdown file for the same. Everything works fine. But I get following message in the beginning in Rmarkdown output file: ...
Mithilesh Kumar's user avatar

15 30 50 per page
1 2
3