('rivers',add=T) > map('worldHires', col=1:10) > map('worldHires', 'Switzerland') > title('Switzerland') > map('worldHires', col=1:10) > map('worldHires') library(maps) # Provides functions that let us plot the maps library(mapdata) # Contains the hi-resolution points that mark out the countries.
R has a special set of classes and methods for spatial data analysis. The core mapping facilities of are a found in package maptools; when you have defined the appropriate spatial data object rworldmap