There are multiple options to connect R Enviroment to PostGIS spatial database services. This repositorie is a collection of various methods to do it using different packages.
Each example is given in R Script format together with a practical applicaiton of the method and an example of uses of the spatial data loaded in R enviroment .
Simple features (SF) is the new package for spatial data management in R , it is a significant improvement in relation to SP package since between others it follows OGC spatial data standards. This facilitate the interoperability with other different open source software for spatial data management and analysis ( PostGIS , QGIS , R, etc ) .