Ejemplo n.º 1
0
 def rid(self) -> int:
     """ID of the underlying R object (memory address)."""
     return _rinterface.get_rid(self.__sexp__._cdata)
Ejemplo n.º 2
0
 def __sexp_refcount__(self) -> int:
     """Count the number of independent Python references to
     the underlying R object."""
     return _rinterface._R_PRESERVED[
         _rinterface.get_rid(self.__sexp__._cdata)
     ]