studying advanced R book