rchitect maps the R API to Python, enabling Python programs to interact with an embedded R session. It can evaluate R expressions, invoke R functions, and convert objects between the two languages.
The package was developed to provide the R integration used by the radian console.
This is free and open source software.
Key Features
- Embeds an R interpreter within a Python process using CFFI.
- Dynamically links the R shared library at runtime.
- Evaluates R expressions and constructs R language calls programmatically.
- Invokes R functions with automatic conversion of supplied arguments.
- Supports calling functions from specific R package namespaces.
- Bidirectional conversion between Python and R objects.
- Converts Python callables into native R functions.
- Imports and invokes Python modules from an embedded R session.
- Provides access to the R global environment.
- Automatically registers conversion methods for interoperability with reticulate.
- Customizable console callbacks for input, output, messages and event processing.
- Supports embedding interactive R consoles with interrupt handling.
- Configurable selection of R installations through PATH, R_BINARY or R_HOME.
- Cross-platform support – runs on Linux, macOS, and Windows.
Website: github.com/randy3k/rchitect
Support:
Developer: Randy Lai
License: MIT License
rchitect is written in Python. Learn Python with our recommended free books and free tutorials.
Related Software
| Access R from Python | |
|---|---|
| rpy2 | Interface to R running embedded in a Python process |
| pyRserve | Library for connecting Python to R |
| PypeR | Provides a lightweight interface to use R in Python by pipe. |
| rchitect | Maps the R API to Python |
Read our verdict in the software roundup.
LinuxLinks helps you discover the best free and open source software for Linux. Explore our extensive collection of recommended applications, including alternatives to popular proprietary software.We also publish software reviews, Linux tutorials, hardware reviews, free programming books and articles covering the wider open source community. Browse our Linux resources to discover more. Know a useful free and open source Linux application we haven't covered? Suggest a program for inclusion. Has your software been featured on LinuxLinks? Display one of our Featured on LinuxLinks badges on your website or GitHub README. |


Please read our Comment Policy before commenting.