How to operate with O to exchange for R