All Questions
6
questions
1
vote
1
answer
123
views
Adding a leaflet in a precompile vignette
I'm maintaining R code in my company that is use by multiple colleagues. I decided to convert my code into a package to make it simpler to share, maintain and document. My package is build to stay ...
2
votes
0
answers
3k
views
Add static view of Leaflet in Rmarkdown pdf output
I have an RMarkdown that I'd like to knit to HTML and PDF. The notebook contains a LeafLet map that I can see fine in the HTML preview but it's completely ignored in the PDF output. By this I mean, ...
1
vote
0
answers
311
views
Remove processing percentages from knitr product
I am trying to remove the message seen in the picture. Part of my RMD code needs to contact a website and get data. The percentages from 1 to 100% keep showing up before the leaflet map. Ive ...
17
votes
1
answer
2k
views
Can't suppress messages in blogdown/knitr
Here is a blog post created with blogdown
The R chunk of code begins with
```{r, echo = FALSE, message = FALSE, warning = FALSE}
However, three messages appear each time I read a shapefile using sf:...
5
votes
1
answer
296
views
Leaflet Layer Tiles not switchable when .html (= .Rmd output) is opened with browser
For several days now, the basic layer tiles "OSM" and "Stamen.TonerLite" (which I've been using for over a year as standard tiles for my maps) are not shown correctly – i.e. it's not possible anymore ...
3
votes
1
answer
658
views
Combine leaflet and markdown in loop
This question shows how to loop over/apply leaflet objects within a markdown file. I'd like to do a similar thing, though I'd like to add additional markdown content.
---
title: "Test"
output: ...