Python interface to the R language
Rpy2 is providing an interface to R by embeddeding it into a Python process.
Access to all of R features is possible with R types exposed as Python classes, and R functions exposed as Python ‘callable’ objects.
For example, importing the R package ‘stats’ into a Python module-like object can done with:
from rpy2.robjects.packages import importr stats = importr('stats')