capture the learning of R