{"categories":[{"label":"Scientific/Engineering","url":"https://skillfed.io/packages/category/scientific-engineering/4"}],"enrichment":{"capability":"rpy2 embeds R within Python, allowing you to call R functions and work with R objects directly from Python code without launching a separate R process.","skillfed_tags":["statistical-computing","language-interop","data-science"],"use_cases":["Call R statistical functions and models from Python without leaving your Python environment or data pipeline.","Use R's specialized packages to process or visualize data already in Python.","Prototype data analysis workflows that combine Python libraries with R capabilities in a single script.","Convert between Python objects and R objects for interoperability.","Embed R computations in Python applications where R's domain expertise is needed but Python is the primary language."],"what_it_does":"rpy2 is a Python-to-R bridge that embeds an R interpreter within Python, letting you execute R code and manipulate R objects from Python without spawning a separate process. It wraps R's C API through rpy2-rinterface and provides high-level object bindings via rpy2-robjects, making it possible to mix R's statistical and data-manipulation capabilities directly into Python workflows.\n\nThe package is designed for data scientists and researchers who need R's specialized libraries but want to work within a Python environment. It requires R to be installed on your system and handles the bridging between Python and R's runtime, including memory management and type conversion. Installation is straightforward for standard setups, though non-standard R installations may require environment configuration.","worth_installing":"Yes, if you need R's capabilities within Python and your project can accept GPL-2.0-or-later licensing. The package is actively maintained, has low install friction (wheel available), and works with modern Python versions (3.9 through 3.13). Not suitable for proprietary projects due to copyleft licensing. Requires R to be installed separately on your system."},"id":"rpy2","links":{"html":"https://skillfed.io/packages/rpy2","md":"https://skillfed.io/packages/rpy2.md","pypi":"https://pypi.org/project/rpy2/"},"maintenance":{"status":"active"},"meta":{"latest_release":"2026-03-27","license_spdx":"GPL-2.0-or-later","license_treatment":"copyleft","name":"rpy2","python_support":"supports_current","summary":"Python interface to the R language (embedded R)"},"popularity":{"monthly_downloads":385556,"position":7061,"tier":"top_15000"},"security":{"n_vulnerabilities":0},"version":"3.6.7"}
