Clustering of GPS with R