Skip to main content

This is the source tree or distribution for the rpy2 package.

Installation

The distutils mechanism can be used:

python setup.py install

The package is known to compile on Linux, WinXp and MacOSX (provided that developper tools are installed). In case you find yourself with this source without any idea of what it takes to compile anything on your platform, do consider looking for pre-compiled binaries.

Note that python setup.py develop will appear to work, but will result in an installation from the rpy directory here. The namespaces will be incorrect, so don’t do that!

Documentation

Documentation is available either in the source tree (to be built), or online (see the rpy home page on sourceforge).

Testing

The testing machinery uses the new unittest functionality, requiring python 2.7+ (or potentially the backported unittest2 library for older python, but this is not supported). The test suite can be run (once rpy2 is installed) as follows:

python -m rpy2.tests

By providing an argument, like “-v”, you’ll get verbose output.

Individual tests can be run as follows:

python -m unittest rpy2.robjects.tests.testVector

Or test discovery can be used as follows:

python -m unittest discover rpy2.robjects

Note that a problematic test is picked up if you do test discovery on the rpy2 root, and you’ll get a segfault. So, always use python -m rpy2.tests to run all tests.

License

RPy2 can be used under the terms of either the GNU General Public License Version 2 or later (see the file gpl-2.0.txt).

Metadata

Release files for rpy2 2.4.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for rpy2 2.4.0
File Size Uploaded Provenance Actions
rpy2-2.4.0.tar.gz 160.9 kB Without provenance Details for rpy2-2.4.0.tar.gz

Release files / rpy2-2.4.0.tar.gz

Download URL rpy2-2.4.0.tar.gz
Size 160.9 kB
Tags Source
SHA-256 checksum
How to use checksums
3cb6360d4d0af7996979f50d0347f5f74fc3fcf98e3ee8057c4c886b358d17e1
BLAKE2b-256 checksum
How to use checksums
75a4182f9dc82934768680b663968115cc3e7e4a1be24478cbb2e1ed44e22b60
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No

Security for rpy2 2.4.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

2.4.0 This release

1 release file No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page