
Summarize an R session log
summarize_r_session.RdParses a structured session log created by start_session_logger() (or a
plain .Rhistory file) and writes two files into output_dir:
Arguments
- log_file
Character or
NULL. Path to a.logfile written bystart_session_logger(). WhenNULL(default) the most recent log in~/.R/session_logs/is used.- rhistory
Character or
NULL. Path to an.Rhistoryfile to summarize instead of a structured log. Takes precedence overlog_file.- output_dir
Character or
NULL. Directory for the output files. Defaults to the directory containinglog_file(orrhistory), or the current working directory.- open
Logical. If
TRUE(default) and the session is interactive, opens the markdown file in the editor after writing.