Abstract We present a characterization of complete locally convex topological vector spaces possessing the Radon-Nikodym property in terms of additive interval functions whose McShane variational measures are absolutely continuous with respect to the Lebesgue measure.