Fix bug in RMimplementation