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;

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

DESCRIPTION

Rserve provides a network server 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 objects.

USAGE

  use Statistics::RserveClient::Connection;

  my $cnx = new Statistics::RserveClient::Connection($server);
  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

AUTHOR

    Djun M. Kim
    CPAN ID: DJUNKIM
    Cielo Systems Inc. / UBC Statistics
    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.

SEE ALSO

perl(1).

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

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

debug()

 Usage     : debug("This is a debug message;");
 Purpose   : Prints a string to the debugging output stream.
 Argument  : A string to be output to the debug stream.

buf2str()

 Usage     : buf2str(\@buf);
 Purpose   : Takes a (reference to) a given array and returns a string representation
 Argument  : A reference to an array.
 Returns   : A string representation of the given array.
 Comments  : Utility routine, intended to help printing debugging output.