Uncomment R level code to unblock Nidhi and Tomas

This is partial rollback of change in 4b3ef78 commit and it needs to be
fixed.