R for Spatial Statistics

 

Introduction to Spatial Libraries in R

The good news is that there has been quite a bit of shake out for the spatial libraries for R in the past few years. The bad news is that the shake out is not done, may never be done, and there are issues with the libraries including a wide range of pretty terrible documentation. Basically, the library terra appears to be the most general, powerful, and now widely used. Unfortunately, not everything is compatible with it so you'll still need to use sp once in a while. The is a short list:

Older libraries (might need to be used with other libraries that don't support objects from terra or sf):