R conversion