INNER CODE UNIT · Python
eval
rpy2/rpy2 · rpy2-rinterface/src/rpy2/rinterface/__init__.py:377
def eval(self, env: typing.Optional[SexpEnvironment] = None) -> sexp.Sexp:
""""Evalute the R "promise".
:param env: The environment in which to evaluate the
promise.
"""
if env is None:
env = globalenv
return openrlib.rlib.Rf_eval(self.__sexp__._cdata, env)
class SexpVectorWithNumpyInterface(SexpVectorCCompatibleAbstract, SexpVector):
"""Numpy-specific API for accessing the content of a numpy array.
This interface implements version 3 of Numpy's `__array_interface__`
and is only available / possible for some of the R vectors."""
@property