Learn R Programming

apollo (version 0.3.4)

apollo_sink: Starts or stops writing output to a text file.

Description

Starts or stops writing the output shown in the console to a file named "modelName_additional_output.txt".

Usage

apollo_sink(apollo_inputs = NULL)

Value

Nothing.

Arguments

apollo_inputs

List grouping most common inputs. Created by function apollo_validateInputs. If not provided, it will be looked for in the global environment.

Details

After the first time this function is called, all output shown in the console will also be written to a text file called "modelName_additional_output.txt", where "modelName" is the modelName set inside apollo_control. The second time this function is called, it stops writing the console output to the file. The user should always call this function an even number of times to close the output file and prevents data loss.