| Name | Signature and Synopsis |
|---|---|
createEngine | boolean createEngine(String engine)Creates an instance of TERR Engine and returns true if successful |
deleteEngine | void deleteEngine(String engine)Deletes instance of TERR Engine. |
engineExecute | void engineExecute(String engine, String Rscript, boolean interactive)Parse and evaluate an expression in the TERR engine |
engineExists | boolean engineExists(String engine)Checks if the TERR engine exists. |
getLastErrorMessage | boolean getLastErrorMessage(String engine)Gets the last error message of the engine |
getVariable | Object[] getVariable(String engine, String var)Gets the variable from TERR |
interrupt | void interrupt(String engine)interrupt the given engine |
invokeTERRFunction | Object[] invokeTERRFunction(String engine, String functionName, Object... args)Calls the Terr engine to invoke the given function name and parameters |
isEngineRunning | boolean isEngineRunning(String engine)Checks the status of given engine |
setEngineParameters | void setEngineParameters(String engine, String Parameters)Sets the TERR engine parameters |
setTerrHome | void setTerrHome(String engine, String Path)Sets the TERR Home for the engine. A global TERR HOME is still needed. This is to set TERR HOME for a particular engine in case of multiple TERR installations |
setVariable | void setVariable(String engine, String var, Object v)Sets the variable from TERR |
startEngine | void startEngine(String engine)Starts the given engine |
stopEngine | void stopEngine(String engine)Stops the given engine |