Statistics::RserveClient - An Rserve Client library for the R statistics platform.
use Statistics::RserveClient; my $cnx = new Statistics::RserveClient::Connection($server); my @result = $cnx->evalString("x='Hello, world!'; x");
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.
use Statistics::RserveClient::Connection; my $cnx = new Statistics::RserveClient::Connection($server); my @result = $cnx->evalString("x='Hello, world!'; x");
This library does not yet support the full rserve protocol. For example, long packets are not supported.
Djun M. Kim CPAN ID: DJUNKIM Cielo Systems Inc. / UBC Statistics info@cielosystems.com http://github.org/djun-kim/Statistics--RserveClient/wiki
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.
perl(1).
rserve: (http://www.rforge.net/Rserve/)
R project: http://r-project.org
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.
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.
To install Statistics::RserveClient, copy and paste the appropriate command in to your terminal.
cpanm
cpanm Statistics::RserveClient
CPAN shell
perl -MCPAN -e shell install Statistics::RserveClient
For more information on module installation, please visit the detailed CPAN module installation guide.