org.openi.stat.r.rserve
Class RServeClient

java.lang.Object
  extended by org.openi.stat.r.rserve.RServeClient
All Implemented Interfaces:
RClient

public class RServeClient
extends java.lang.Object
implements RClient

Version:
$Revision: 1.7 $ $Date: 2006/04/12 00:39:12 $
This class executes R script.
Author:
Uddhab Pant

Constructor Summary
RServeClient(java.lang.String rServerIP, int serverPort)
          Initialize RServe
 
Method Summary
 void execute(RFunction function, java.lang.String outputPath)
          R executes script and saves files under output path
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

RServeClient

public RServeClient(java.lang.String rServerIP,
                    int serverPort)
             throws org.rosuda.JRclient.RSrvException
Initialize RServe

Parameters:
rServerIP - String
Throws:
org.rosuda.JRclient.RSrvException
Method Detail

execute

public void execute(RFunction function,
                    java.lang.String outputPath)
             throws java.lang.Exception
R executes script and saves files under output path

Specified by:
execute in interface RClient
Parameters:
function - RFunction
outputPath - String
Throws:
java.lang.Exception