Learn R Programming

RclusTool (version 0.91.61)

saveLogFile: 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)

Value

log txt file.

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

Examples

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


Run the code above in your browser using DataLab