Installing Geospatial Libraries

Albert Y. Kim

2021-08-01

library(SpatialEpi)
#> Loading required package: sp

The next steps will install the open source geospatial libaries necessary for your computer to read in ESRI shapefiles. Fortunately you only have to do this once.

Installation Instructions

Mac Users

Windows Users

Linux Users

I’m going to assume you know what you’re doing!

Testing

After installing the prerequisite packages, test that both the rgdal and rgeos packages are installed by running

library(rgdal)
library(rgeos)