Python is a high-level, general-purpose, structured, powerful, open source programming language that’s used for a wide variety of programming tasks. It features a fully dynamic type system and automatic memory management. Python is a versatile language. It’s frequently used as a scripting language for web applications, embedded in software products, as well as artificial intelligence and system administration tasks. It’s both simple and powerful, perfectly suited for beginners and professional programmers alike.
R (a free software implementation of the S/Splus language) is a software environment for statistical computing and graphics.
In many ways, R is one of the finest data analysis toolboxes because of the breadth and depth of its packages (the CRAN package repository hosts over 21,000 packages and there are many other different packages hosted elsewhere).
Having an interface between both languages to benefit from the libraries of one language while working in the other is appealing. This roundup picks the finest software which lets you access R from within a Python program.
Here’s our verdict captured in a legendary LinuxLinks-style ratings chart. Only free and open source software is eligible for inclusion.

Learn more about each program.
| 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 |
We cover software which lets you access Python from R in this roundup.
This article has been updated to reflect the changes outlined in our recent announcement.
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.