Analytics.Engine.engineExecute()
Signature
void engineExecute(String engine, String Rscript, boolean interactive)
Description
Parse and evaluate an expression in the TERR engine.
Parameters
Name | Type | Description |
engine | String | Engine Name |
RScript | String | R Script to be evaluated |
interactive | Boolean | If the argument interactive is true, the expression is evaluated as if it was in an interactive console |
Cautions
Use try catch block with getLastErrorMessage() inside catch to get detailed error message
Example
Analytics.Model.engineExecute("engine1", "a<-3", true);