rpy2: Python interface to R#

Description#

rpy2 is a redesign and rewrite of rpy. It is providing a low-level interface to R, a proposed high-level interface, including wrappers to graphical libraries, as well as R-like structures and functions.

License#

  • GPL 2+

  • Note that we have deleted references to Mozilla PL as an option, which we are allowed to do by the full rpy2 license in order to remain GPL-compatible

Upstream Contact#

Special Update/Build Instructions#

Patches#

  • setup.patch: takes care of a few parsing issues.

  • cygwin.patch: let rpy2 build on Cygwin.

Type#

standard

Dependencies#

Version Information#

package-version.txt:

3.4.5

install-requires.txt:

rpy2 >=3.3

Equivalent System Packages#

arch:

$ sudo pacman -S  python-rpy2

conda:

$ conda install  rpy2

Debian/Ubuntu:

$ sudo apt-get install  rpy2

freebsd:

$ sudo pkg install math/py-rpy2

macports: install the following packages: py-rpy2

opensuse:

$ sudo zypper install python3${PYTHON_MINOR}-rpy2

See https://repology.org/project/rpy2/versions

If the system package is installed and if the (experimental) option –enable-system-site-packages is passed to ./configure, then ./configure will check if the system package can be used.