R commands that emulate ArcMap tools
I have recently and gleefully abandoned ArcMap and all things ESRI in favor of doing spatial analysis in R. Although one can interface with GRASS to run heavy-duty analyses, many of the analyses I like or need to do include manipulating the individual lines and points that make up polygons and polylines. The r package "sp" provides a standard way of representing spatial objects in R. Yet commands that operate on "sp" objects are spread across many different packages. Below is a reference table that I am compiling for myself that list ArcMap tools along with some options for emulating those tools in R. Feel free to email me (gpoole (at) montana (dot) edu) with any suggestions for additions to this list.
ArcMap Command
|
R package
|
function
|
A
Add base map
|
ggmap
|
get_map()
|
C
Clip
|
rgeos
|
gIntersection()
|
E
Export
|
rgdal
|
writeOGR()
|
I
Import
|
rgdal
|
readOGR()
|
R
Project
|
rgdal
|
spTransform()
|