ects and r