analyticity and Riemann integrals