This is the source tree or distribution for the rpy2 package.
[](https://drone.io/bitbucket.org/lgautier/rpy2/latest) [](https://crate.io/packages/rpy2/)
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.5.2
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | |
|---|---|---|---|---|
| rpy2-2.5.2.tar.gz | 164.5 kB | Without provenance | Details |
Release files / rpy2-2.5.2.tar.gz
| Download URL | rpy2-2.5.2.tar.gz |
|---|---|
| Size | 164.5 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
676b9dd602759388c81697dda1f9ccf74055e71006f9a5c70be8ea4cebc8b640
|
|
BLAKE2b-256 checksum How to use checksums |
a847171d97aa925d3fa13f43788a1670ab0febbaf3ede17784f00f326eeec5f4
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
Security for rpy2 2.5.2
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.