write and read ESRI Shapefile

write_shp(x, file, ...)

Arguments

x

Spatial* Object from sp package

file

The path of ESRI shapefile

...

other parameters to sf::write_sf()