This function is a means to capture the history
of R commands interactively entered at the prompt
in this session (or saved across sessions)
as a Script-class
object.
One can then analyze the expressions to find relationships
between variables and commands, which are irrelevant, ...