Skip to content
Statistics--RserveClient is a CPAN perl module allowing perl clients to communicate with Rserve, an open-source compute server for the R statistical platform.
Perl PHP Shell
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
lib/Statistics
scripts
t
tests
.gitignore
.perltidyrc
Changes
Documentation
LICENSE
Makefile.PL
README
README.md
Rshell
Todo
test.pl

README.md

Statistics::RserveClient

This is a Perl module implementing a client library for Rserve http://www.rforge.net/Rserve/ (a TCP/IP server for R statistical software). The software is largely based on the PHP implementation of Clément Turbelin.

The implementation of this library was sponsored in part by a University of British Columbia Teaching and Learning Enhancement Fund grant awarded to Dr. Bruce Dunham, UBC Statistics.

Thanks also to Dr. Davor Cubranic for substantial contributions including most of the tests.

Tests

You can run tests using prove:

prove -r t

Usage

The use of the library is simple

  1. create an instance of Rserve_Connection

    $cnx = new Statistics::RserveClient::Connection('myserverhost');

  2. Send R commands and get the results as perl array

    @result = $cnx->evalString('x ="Hello world !"; x');

For additional information and examples please visit the project wiki at https://github.com/djun-kim/Statistics--RserveClient/wiki.

Contacts

Djun Kim, djun.kim@cielosystems.com http://puregin.org

Something went wrong with that request. Please try again.