Geodesic curves and Barycenters in R n