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