Dear all, Is there any way to access the vector containing the longitude and latitude coordinates of a raster object? For example: library(raster) r1 <- raster(nrows=800, ncols=820, xmn=0, xmx=10) # I am looking for something like this: r1$lon r2$lat Thanks in advance, Thiago.