|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.af.jhlir.call.RCallServices
public abstract class RCallServices
| Field Summary | |
|---|---|
static String |
NA_CHAR
String value that codes a NA for a character |
static String |
NA_FACTOR
String value that codes a NA for a factor |
static Integer |
NA_RINTEGER
Integer value that codes a NA |
static Boolean |
NA_RLOGICAL
Boolean value that codes a NA |
static Double |
NA_RNUMERIC
Double value that codes a NA |
| Constructor Summary | |
|---|---|
RCallServices()
|
|
| Method Summary | |
|---|---|
abstract void |
assign(String varName,
String expression)
Assigns the result of evaluating the expression to a variable. |
abstract RObj |
call(String function,
Object... args)
Calls a function with the given arguments. |
abstract RObj |
eval(String expression)
Evaluates an expression and returns the result. |
abstract RRef |
evalAndGetRef(String expression)
Evaluates an expression and returns the result as a reference. |
abstract void |
evalVoid(String expression)
Evaluates an expression. |
abstract String[] |
getWarning()
If there was generated at least one warning on R side by the last eval,
evalVoid, evalAndGetRef,assign, call
or put command, this method returns the warnings. |
abstract void |
put(String varName,
Object obj)
TODO |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Field Detail |
|---|
public static Integer NA_RINTEGER
public static Double NA_RNUMERIC
public static Boolean NA_RLOGICAL
public static String NA_CHAR
public static String NA_FACTOR
| Constructor Detail |
|---|
public RCallServices()
| Method Detail |
|---|
public abstract void evalVoid(String expression)
throws REngineException
expression -
REngineException
public abstract RObj eval(String expression)
throws REngineException
expression - expression to be evaluated
REngineException
public abstract RRef evalAndGetRef(String expression)
throws RemoteException
expression - expression to be evaluated
RemoteException
public abstract void assign(String varName,
String expression)
throws RemoteException
varName - variable name that the result should be assigned toexpression - expression to be evaluated
RemoteException
public abstract RObj call(String function,
Object... args)
throws RemoteException
function - name of the function to be calledargs - arguments to be part of the call
RemoteException
public abstract void put(String varName,
Object obj)
throws REngineException
varName - obj -
RemoteException
REngineExceptionpublic abstract String[] getWarning()
eval,
evalVoid, evalAndGetRef,assign, call
or put command, this method returns the warnings.
Otherwise it returns null.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||