The Perl Toolchain Summit needs more sponsors. If your company depends on Perl, please support this very important event.

NAME

Statistics::RserveClient - An Rserve Client library for the R statistics platform.

SYNOPSIS

  use Statistics::RserveClient::Connection;

  my $cnx = new Statistics::RserveClient::Connection('localhost');
  my @result = $cnx->evalString("x='Hello, world!'; x");

DESCRIPTION

Rserve provides a connection-oriented network interface to the R statistical platform. The Statistics::RserveClient package provides a Perl client library to enable interaction with Rserve from within Perl applications.

Using RserveClient, your Perl application can pass strings to Rserve for evaluation by R. The results are returned as Perl arrays.

USAGE

  use Statistics::RserveClient::Connection;

  my $cnx = new Statistics::RserveClient::Connection('localhost');
  my @result = $cnx->evalString("x='Hello, world!'; x");

BUGS

This library does not yet support the full rserve protocol. For example, long packets are not supported.

SUPPORT

Please visit http://github.com/djun-kim/Statistics--RserveClient to view/file bug reports and feature requests and to browse additional documentation.

AUTHOR

    Djun M. Kim
    CPAN ID: DJUNKIM
    Cielo Systems Inc.
    info@cielosystems.com
    http://github.org/djun-kim/Statistics--RserveClient/wiki

COPYRIGHT

This program is free software licensed under the...

        The General Public License (GPL)
        Version 2, June 1991

The full text of the license can be found in the LICENSE file included with this module.

ACKNOWLEDGEMENTS

This software was partially funded through the financial assistance of the University of British Columbia, via a Teaching and Learning Enhancement Fund project led by Dr. Bruce Dunham (UBC Statistics).

The author would also like to thank Dr. Davor Cubranic (UBC Statistics) for many improvements to the code, in particular most of the tests.

SEE ALSO

rserve: (http://www.rforge.net/Rserve/)

R project: http://r-project.org