distance
estimates the distance given a starting & ending latitude and longitude.
For general information on Vincenty's formula, see e.g., distance(lat1, lon1=NULL, lat2=NULL, lon2=NULL, bearing=FALSE)
destination
#get the distance of 1 degree longitude at each 5 degrees latitude from -90 to 90
distance(lat1=seq(-90,90,5),lon1=rep(0,37),lat2=seq(-90,90,5),lon2=rep(1,37),bearing=TRUE)
Run the code above in your browser using DataLab