pyObject ======== The function pyObject creates a virtual Python object of type PythonInR_Object. Every PythonInR_Object has the following members: \itemize{ \item *py.variableName* the variable name used in Python. \item *py.objectName* the name of the Python object (obtained by x.__name__) or NULL. \item *py.type* the type of the Python object. \item *py.del* a function to delete the Python object. \item *print* for more information see R6 classes. \item *initialize* for more information see R6 classes. } The other members of PythonInR_Object's are generated dynamically based on the provided Python object. The R function *ls* can be used to view the members of a PythonInR_Object object. Usage ----- .. code-block:: R pyObject(key, regFinalizer = TRUE) Arguments --------- .. raw:: html
key | a character string giving the name of the Python object. |
regFinalizer | a logical indicating if a finalizer should be be registered, the default value is TRUE. |