Thanks to the hard work by Jeroen Ooms, Edzer Pebesma, Roger Bivand, and others, installing the sf
package and all its dependencies (rgdal
, lwgeom
) on Windows is very easy with precompiled binaries.
docker build --tag sf-win .
docker run --rm -it sf-win R.exe -q -e "library('sf')"
Output:
library('lwgeom');library('sf')
Linking to liblwgeom 2.5.0dev r16016, GEOS 3.6.1, proj.4 4.9.3
Linking to GEOS 3.6.1, GDAL 2.2.0, proj.4 4.9.3