On the differentiability of Lipschitz functions with respect to measures in the Euclidean space