Analytics.Engine.enginesExecute()
Signature
void enginesExecute(String Rscript, boolean interactive)
Description
Parse and evaluate an expression in the TERR engine pool.
Parameters
Name | Type | Description |
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.enginesExecute("a<-3", true);