Learn R Programming

IGM.MEA (version 0.3.4.1)

IGM.write.UI.to.log: IGM.write.UI.to.log

Description

Writes a named list e.g. parameters or file paths to a vector of specified file paths. Useful for documenting the parameters and files used in an analysis.

Usage

IGM.write.UI.to.log(files=NULL,parameterList, new.file=F )

Arguments

files
vector of full file paths to already created .txt files where parameterList content will be written. e.g. files=c('/Desktop/log1.txt', '/Desktop/output/log2.txt)
parameterList
A named list of containing pertinent information. An entry of parameterList can itself be a named list, in which case the resulting output file with write the names and contents of each sublist.
new.file
new.file=TRUE will overwrite any existing file, restarting the log in effect. Default: new.file=FALSE

Value

writes to .txt files specified.

Examples

Run this code
# IGM.write.UI.to.log(files='/Desktop/logfile.txt',parameterList, new.file=F )

Run the code above in your browser using DataLab