Python2R conversions