saveLogFile: Log file saving

View source: R/sampleClustering.R

saveLogFileR Documentation

Log file saving

Description

Save a log txt file at the end of the session, describing the different steps of the analyses.

Usage

saveLogFile(filename.txt, txt, dir)

Arguments

filename.txt

character vector specifying the path and the name of the txt file.

txt

character vector describing the different steps of the analyses.

dir

character vector specifying the directory where to save the txt file.

Details

saveLogFile saves a log txt file at the end of the session, describing the different steps of the analyses

Value

log txt file.

Examples

logfile <- tempfile()
saveLogFile(basename(logfile), txt=rbind("Analysis date: ...", "Analysis duration: ..."), 
     dirname(logfile))



RclusTool documentation built on Aug. 29, 2022, 9:07 a.m.