I imported a Shapefile holding a quite detailed world map from: http://www.diva-gis.org
library(sp)
library(rgdal)
world = readOGR('./countries_shp/', 'countries')
Using R with the sp-Packages, plotting is really easy:
spplot(world, 'UNREG2')
plot(world)
Now I want to
- draw a customizable grid
- add points derived from coordinates
For example importing coordinates of Vienna (48°12′32″N 16°22′21″E) can be done using char2dms of the sp-package:
vienna.N = char2dms("48d12'32\"N")
vienna.E = char2dms("16d22'21\"E")
But how can a draw a point at this exact location on my map?
Also adding a grid is straight forward:
plot(gridlines(world), add=TRUE)
assuming, that the last plot was created with "plot(world)". How can this be achieved with the spplot output?

Rtricks from a few months ago here: http://gis.stackexchange.com/questions/3310/what-is-the-most-useful-spatial-r-trick You can plot points withdismoandggplot2(I don't know how to do it insp). – djq Apr 05 '12 at 14:43latticequestion, pure and simple: you might get a fast authoritative answer over on SO. – whuber Apr 05 '12 at 15:45