R Under development (unstable) (2024-11-03 r87286 ucrt) -- "Unsuffered Consequences" Copyright (C) 2024 The R Foundation for Statistical Computing Platform: x86_64-w64-mingw32/x64 R is free software and comes with ABSOLUTELY NO WARRANTY. You are welcome to redistribute it under certain conditions. Type 'license()' or 'licence()' for distribution details. R is a collaborative project with many contributors. Type 'contributors()' for more information and 'citation()' on how to cite R or R packages in publications. Type 'demo()' for some demos, 'help()' for on-line help, or 'help.start()' for an HTML browser interface to help. Type 'q()' to quit R. > suppressPackageStartupMessages(library(sf)) > > if (require(maps, quietly = TRUE)) { + m = map(xlim = c(4,9), ylim = c(48,55), fill = TRUE, plot = FALSE) + st_as_sf(m) + m = map(xlim = c(4,9), ylim = c(48,55), plot = FALSE) + st_as_sf(m, fill = FALSE) + st_as_sf(map(), fill = FALSE) + st_as_sf(map(fill = TRUE)) + st_as_sf(map(), fill = FALSE, group = FALSE) + st_as_sf(map(fill = TRUE), group = FALSE) + } Simple feature collection with 1627 features and 1 field Geometry type: MULTIPOLYGON Dimension: XY Bounding box: xmin: -180 ymin: -85.19218 xmax: 190.2708 ymax: 83.59961 Geodetic CRS: +proj=longlat +ellps=clrk66 +no_defs +type=crs First 10 features: ID Aruba Aruba Afghanistan Afghanistan Angola Angola Angola:Cabinda Angola:Cabinda Anguilla Anguilla Albania Albania Finland:Aland Islands:Foglo Finland:Aland Islands:Foglo Finland:Aland Islands:Eckero Finland:Aland Islands:Eckero Finland:Aland Islands:Fasta Aland Finland:Aland Islands:Fasta Aland Andorra Andorra geom Aruba MULTIPOLYGON (((-69.89912 1... Afghanistan MULTIPOLYGON (((74.89131 37... Angola MULTIPOLYGON (((23.9665 -10... Angola:Cabinda MULTIPOLYGON (((12.21367 -5... Anguilla MULTIPOLYGON (((-63.00122 1... Albania MULTIPOLYGON (((20.06396 42... Finland:Aland Islands:Foglo MULTIPOLYGON (((20.61133 60... Finland:Aland Islands:Eckero MULTIPOLYGON (((19.6623 60.... Finland:Aland Islands:Fasta Aland MULTIPOLYGON (((19.98955 60... Andorra MULTIPOLYGON (((1.706055 42... > > proc.time() user system elapsed 1.21 0.21 1.43