Skip to main content

A Python client to remotely access R statistic package via Rserve

Project description

What It Does

pyRerve is a library for connecting Python to an R process (an excellent statistic package) running Rserve as a RPC connection gateway. Through such a connection variables can be get and set in R from Python, and also R-functions can be called remotely. In contrast to rpy or rpy2 the R process does not have to run on the same machine, it can run on a remote machine and all variable access and function calls will be delegated there through the network.

Furthermore - and this makes everything feel very pythonic - all data structures will automatically be converted from native R to native Python types and back.

Changes

  • V 0.4 (2011-09-20)
    • Added support for nested function calls. E.g. conn.r.t.test( ….) now works.

    • Proper support for boolean variables and vectors

  • V 0.3 (2010-06-08)
    • Added conversion of more complex R structures into Python

    • Updated documentation (installation, manual)

  • V 0.2 (2010-03-19) Fixed rendering of TaggedArrays

  • V 0.1 (2010-01-10) Initial version

Supported Platforms

This package has been mainly developed under Linux, and hence should run on all standard unix platforms. It has also been successfully used on Win32 machines. Unittests have only been used on the Linux side, however they might just work fine for Win32.

It has been tested run with Python 2.6.x and 2.7.x. Python 3.x has never been tested, it might or might not work.

The latest development has been tested with R 2.13.1 and Rserve 0.6.6.

License

pyRserve has been written by Ralph Heinkel (www.ralph-heinkel.com) and is released under MIT license.

Quick Installation

Make sure that Numpy is installed.

Then from your unix/windows command line run:

easy_install pyRserve

or download the tar.gz or zip package. After unpacking run python setup.py install from your command line.

Full Documentation

Documentation can be found at http://packages.python.org/pyRserve/.

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyRserve-0.4.tar.gz (79.9 kB view details)

Uploaded Source

File details

Details for the file pyRserve-0.4.tar.gz.

File metadata

  • Download URL: pyRserve-0.4.tar.gz
  • Upload date:
  • Size: 79.9 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No

File hashes

Hashes for pyRserve-0.4.tar.gz
Algorithm Hash digest
SHA256 eb83cc40b8e2d194dfb47010dfb43695a3975313cf3c8915c3bc4f02f247964c
MD5 aff25f3f672305ba93b40aa67269d93e
BLAKE2b-256 927ef3ec1b9428028064f0b02a11f0c9420987d3f12a1dd311a25168fc1e12bc

See more details on using hashes here.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page