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

Description Usage Arguments Value Author(s) Examples

View source: R/utils.R

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

1
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.

Author(s)

Diana Hall

Examples

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

IGM.MEA documentation built on May 29, 2017, 11:07 p.m.