save_session_info {projects} | R Documentation |
Save R session information
Description
Creates a dated text file (.txt) containing the contents of
sessioninfo::session_info()
.
Usage
save_session_info(path_dir = here::here("progs", "session_info"))
Arguments
path_dir |
The full path of the directory where the session information
text file shall be written. If it doesn't exist, it is written with
|
Details
The date and time when this function was run is included in the resulting
.txt file's name and first line. This date and time is obtained from
Sys.time()
.
For the file name, hyphens (-) are removed from the date, spaces are replaced with underscores (_), and colons (:) are replaced with a modifier letter colon (U+A789).
Value
A list of two:
$ time :
the value of Sys.time()
that the
function used
$ session_info() :
the value of
sessioninfo::session_info()
that the function
used
[Package projects version 2.1.3 Index]