|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.nuiton.j2r.REngineAbstract
org.nuiton.j2r.jni.RJniEngine
public class RJniEngine
RJniEngine.java Created: 22 aout 2006
| Constructor Summary | |
|---|---|
RJniEngine()
|
|
| Method Summary | |
|---|---|
void |
commit()
Method to commit all the R instructions stored when not in autocommit mode. |
java.lang.Object |
eval(java.lang.String expr)
Evaluate a R expression in R and get back the result. |
boolean |
init()
Initialize the R engine. |
void |
terminate()
Terminate the R connection. |
void |
voidEval(java.lang.String expr)
Evaluate a R expression in R without getting back the result. |
| Methods inherited from class org.nuiton.j2r.REngineAbstract |
|---|
clearSession, cp, dget, dget, dput, dput, getwd, isAutoCommit, loadRData, loadRData, ls, mv, remove, saveRData, saveRData, setAutoCommit, setwd |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface org.nuiton.j2r.REngine |
|---|
clearSession, cp, dget, dget, dput, dput, getwd, isAutoCommit, loadRData, loadRData, ls, mv, remove, saveRData, saveRData, setAutoCommit, setwd |
| Constructor Detail |
|---|
public RJniEngine()
| Method Detail |
|---|
public boolean init()
init in interface REngineREngine.init()
public java.lang.Object eval(java.lang.String expr)
throws RException
eval in interface REngineexpr - the R expression to evaluate.
RException - if an error occur while trying to evaluate the
expression.org.nuiton.R.REngine#eval(java.lang.String)public void terminate()
terminate in interface REngineREngine.terminate()
public void voidEval(java.lang.String expr)
throws RException
voidEval in interface REngineexpr - the R expression to evaluate.
RException - if an error occured while trying to evaluate the
expression.REngine.voidEval(java.lang.String),
commit()
public void commit()
throws RException
commit in interface REngineRException - if an error occur while evaluating the
instructions in R.REngine.commit()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||