RPA calculations in the continuum