|  | ## Write as Text

#### Synopsis

This operator can be used at each point in an operator chain and and writes current results to the console or to a file.

#### Description

This operator can be used at each point in an operator chain. It returns all input it receives without any modification. Every input object which implements the ResultObject interface (which is the case for almost all objects generated by the core RapidMiner operators) will write its results to the file specified by the parameter result_file. If the definition of this parameter is ommited then the global result file parameter with the same name of the ProcessRootOperator (the root of the process) will be used. If this file is also not specified the results are simply written to the console (standard out).

#### Input

- input 1:

#### Output

- input 1:

#### Parameters

- result file: Appends the descriptions of the input objects to this file. If empty, use the general file defined in the process root operator.
- encoding: The encoding used for reading or writing files.

#### ExampleProcess