adams.flow.transformer.RTransformer
Carries out an r command on the token passed in. The input can be accessed via 'X'.
Variables are supported as well, e.g. pow(X,@{exp}) with '@{exp}' being a variable available at execution time.
Returns a result from R.
Flow input/output:
- input: java.lang.Integer, java.lang.String, java.lang.Double, java.lang.Double[], java.lang.Double[][], adams.data.spreadsheet.SpreadSheet
- output: java.lang.Integer
The logging level for outputting errors and debugging output.
command-line | -logging-level <OFF|SEVERE|WARNING|INFO|CONFIG|FINE|FINER|FINEST> |
default | WARNING |
min-user-mode | Expert |
The name of the actor.
command-line | -name <java.lang.String> |
default | RTransformer |
The annotations to attach to this actor.
command-line | -annotation <adams.core.base.BaseAnnotation> |
default |
|
If set to true, transformation is skipped and the input token is just forwarded as it is.
command-line | -skip <boolean> |
default | false |
If set to true, the flow execution at this level gets stopped in case this actor encounters an error; the error gets propagated; useful for critical actors.
command-line | -stop-flow-on-error <boolean> |
default | false |
min-user-mode | Expert |
If enabled, then no errors are output in the console; Note: the enclosing actor handler must have this enabled as well.
command-line | -silent <boolean> |
default | false |
min-user-mode | Expert |
The script file to load and execute.
command-line | -script-file <adams.core.io.PlaceholderFile> |
default | ${CWD} |
The type of encoding to use when loading the script file.
command-line | -encoding <adams.core.base.BaseCharset> |
default | Default |
Script to pass into r. The input value can be accessed via 'X'.
command-line | -script <adams.core.scripting.RScript> |
default |
|
Set this to true to enable automatic placeholder expansion in the script.
command-line | -placeholder <boolean> |
default | false |
Set this to true to enable automatic variable expansion in the script.
command-line | -variable <boolean> |
default | false |
If enabled, the script gets split into lines and evaluated one line at a time (useful for debugging).
command-line | -line-by-line <boolean> |
default | true |
Data type of returned object
command-line | -return-type <Integer|Double|DoubleArray|DoubleMatrix|String|DataFrame> |
default | Integer |
The comma-separated list of dataframe column names to return only (if return type is DataFrame)
command-line | -data-frame-columns <java.lang.String> |
default |
|