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