Hi! I have a set of 800 coordinates pairs and need to find the distance between each pair. I am able to find the distance between one pair using: <-geodist(LatStart,LongStart,LatEnd,LongEnd,units="km")) but doing one by one is nor feasible. Can you help me? Thanks, Mafalda -- Mafalda Viana Inshore Fisheries Group FRS Marine Laboratory 375 Victoria Road Torry, Aberdeen AB11 9DB UK email: m.viana@marlab.ac.uk Phone: +44 (0) 1224 876544 (ext.5684) Fax: +44 (0) 1224 295511 [[alternative HTML version deleted]]