powered by
Save a log txt file at the end of the session, describing the different steps of the analyses.
saveLogFile(filename.txt, txt, dir)
log txt file.
character vector specifying the path and the name of the txt file.
character vector describing the different steps of the analyses.
character vector specifying the directory where to save the txt file.
saveLogFile saves a log txt file at the end of the session, describing the different steps of the analyses
logfile <- tempfile() saveLogFile(basename(logfile), txt=rbind("Analysis date: ...", "Analysis duration: ..."), dirname(logfile))
Run the code above in your browser using DataLab