Lancaster University This cheatsheet is an attempt to supply you with the key functions and manipulations of spatial vector and raster data. It does not have examples for you to cut and paste, its intention is to provoke the "Oh yes, that's how you do it" thought when stuck. library(sp) # vector data library(raster) # raster data library(rgdal) # input/output, projections library(rgeos) # geometry