Complete integrability of vector fields in RN