My employer has updated to R version 3.6.2 (2019-12-12) and RStudio version: 1.2.5033, resulting in background maps in mapview
and leaflet
not longer being displayed. I am aware that depending on the version of RStudio Viewer certain map providers may not be displayed, as outlined in this post. However, no map providers appear to be working at all. I have tried to install the developer version of mapview
via devtools::install_github("r-spatial/mapview@develop")
, but get a timeout error. This error persists after manually setting proxies and ports as explained by @beingalink here. I can work around the problem by using the option viewer.suppress = TRUE
and open the maps in the browser window rather than the RStudio viewer, but that is not very convenient and some functionality e.g. latticeView and sync don't provide this option. Unfortunately, my employer has removed the previous R version and I am severely limited by IT-safety regulation in what I can do/change on my PC. Any suggestions on how to solve this issue? sessionInfo()
and RStudio version below:
> sessionInfo()
R version 3.6.2 (2019-12-12)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 17763)
Matrix products: default
locale:
[1] LC_COLLATE=German_Germany.1252 LC_CTYPE=German_Germany.1252 LC_MONETARY=German_Germany.1252
[4] LC_NUMERIC=C LC_TIME=German_Germany.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
other attached packages:
[1] leaflet_2.0.3 mapview_2.7.0
loaded via a namespace (and not attached):
[1] Rcpp_1.0.3 RColorBrewer_1.1-2 compiler_3.6.2 later_1.0.0 base64enc_0.1-3
[6] class_7.3-15 tools_3.6.2 uuid_0.1-2 digest_0.6.23 jsonlite_1.6.1
[11] satellite_1.0.2 lifecycle_0.1.0 lattice_0.20-38 viridisLite_0.3.0 png_0.1-7
[16] rlang_0.4.3 shiny_1.4.0 DBI_1.1.0 crosstalk_1.0.0 yaml_2.2.1
[21] fastmap_1.0.1 e1071_1.7-3 raster_3.0-12 leaflet.providers_1.9.0 systemfonts_0.1.1
[26] gdtools_0.2.1 htmlwidgets_1.5.1 stats4_3.6.2 classInt_0.4-2 grid_3.6.2
[31] webshot_0.5.2 svglite_1.2.2 sf_0.8-1 R6_2.4.1 leafpop_0.0.5
[36] sp_1.3-2 magrittr_1.5 scales_1.1.0 codetools_0.2-16 promises_1.1.0
[41] htmltools_0.4.0 units_0.6-5 mime_0.8 xtable_1.8-4 colorspace_1.4-1
[46] httpuv_1.5.2 brew_1.0-6 KernSmooth_2.23-16 munsell_0.5.0 leafem_0.0.1
RStudio version: 1.2.5033