Next: , Previous: Conversion system, Up: Conversion system


4.1 R to Python

RPy has four different conversion modes. A mode can be global or local to every Robj object. When a global mode is active, the output from every Robj is converted according to that mode (see Modes). (We'll use default as a synonym of global.)

The local mode is an attribute of the Robj objects, which can be retrieved with the local_mode method (see Methods of Robj type). When the global mode is not active, the local mode is looked up to convert the output of a given Robj object.