Skip to main content

All Questions

Tagged with
1 vote
2 answers
1k views

Cannot display mapview output after installing R 4.0.0

After I installed the R 4.0.0, I cannot display the mapview output in the viewer of RStudio. It would be great if someone can give me some hints to solve this. Here is an example code. library(...
www's user avatar
  • 39k
1 vote
1 answer
1k views

Leaflet maps not working in R Studio after R 4.0.0 upgrade

I updated my computer the other day (R, R Tools, and RStudio), and leaflet stopped working. When I run this example in the RGUI it's very slow, but eventually it opens a web page in a browser. ...
geneorama's user avatar
  • 3,700
1 vote
0 answers
11 views

Install R packages (leaflet and flexdashboard) on an AWS instance [duplicate]

I have recently started using AWS servers to launch R instances. However, I can't seem to install these following packages : flexdashboard and leaflet. > install.packages("flexdashboard") Warning ...
PHNM's user avatar
  • 25
1 vote
1 answer
966 views

Leaflet Marker Color Changes Reactive to varSelectInput in Shiny

I am attempting to produce a Leaflet map in which the marker colors change based on the user selecting a variable from the data set using varSelectInput(). Below is the reprex as well as what I have ...
RaBe's user avatar
  • 53
1 vote
0 answers
2k views

Local icons not loading, empty image in r leaflet

I am not able to display links to local images with addControl. At first I thought my problem was the same as this question: Icons not loading (empty image) in R Leaflet with Shiny. However, I ...
geneorama's user avatar
  • 3,700
0 votes
1 answer
1k views

Shiny app doesn't work on shinyapps.io, but works in rstudio

The app is currently hosted on shinyapps here: https://njed.shinyapps.io/race_seg_gap_map/ There is no error message (I checked shinyapp logs) and memory usage doesn't go above 100mb. The points ...
dca's user avatar
  • 642
4 votes
1 answer
1k views

R shiny server + leaflet Memory leak

Background I have to create a prototype map based dashboard for a project. I decided on R shiny, as it had the best data management for my data, and easy to use. I use Leaflet in combination with ...
Lia Neya's user avatar
5 votes
3 answers
3k views

Leaflet Map not rendering in Rmarkdown, R Notebook when opened in browser

For some reason, I can view the leaflet map in the RStudio viewer, but not in a browser, even a very basic map. ```{r, echo=FALSE, warning=FALSE} library(leaflet) m <- leaflet() %>% addTiles() ...
Martin Boros's user avatar
1 vote
1 answer
2k views

Create a GeoTiff from leaflet map

I'm trying to create a GeoTiff from a leaflet map. I've tried to find answers to this online but non of them seem to work for me. I'm quite new with using R. The geodata is a 2000*10 matrix where the ...
L.sor's user avatar
  • 13
1 vote
1 answer
567 views

Add custom information in popup labels: geoExploreR

I am new to Shiny, and I am playing with geoExplorer. This app combines reactive ggvis and Leaflet. When you click in a data point, there is a popup label including information on the input ...
Anxofs's user avatar
  • 11
1 vote
0 answers
387 views

Leaflet R coordinate

I'm working with Rstudio to create a dynamic map. Currently, I'm learning how to use and code leaflet and I have a problem with coordinates. I'm following a basic tutorial that shows how to put a ...
Wiwionk's user avatar
  • 11
0 votes
1 answer
712 views

Shiny app crash, issue with leaflet Shiny RStudio

i'm building shiny app, used leaflet to plot a map with markers and polygons. At this point i have a map, with some markers and one polygon at time This is part of my code, with this i can render a ...
Carlos's user avatar
  • 103
1 vote
0 answers
160 views

Issue recreating coordinate transformation from Javascript leaflet map in R Leaflet

At the bottom is Javascript code and it manages to add a map in the Dutch coordinate system (Rijksdriehoekstelsel). I tried to remake it in Leaflet in R, but for some reason I only get a grey screen......
DS501's user avatar
  • 133
2 votes
2 answers
4k views

Crosstalk: filter Polylines in Leaflet

I can't get crosstalk to work with leaflet and Polylines - here is an MWE: library(crosstalk) library(leaflet) theta <- seq(0, 2*pi, len = 100) dat <- data.frame( lon = cos(theta), lat = ...
cno's user avatar
  • 675
5 votes
1 answer
742 views

Leaflet polygons losing colour when R Shiny app opened in web browser

I'm building a map using leaflet in R, to be deployed as a Shiny app. The Shiny app is working fine within RStudio, but when I open it in a web browser the polygons lose their colour. Everything else ...
JaydenM-C's user avatar
  • 288

15 30 50 per page