A substitute for the history function from the utils package.
history(max.show = 25, reverse = FALSE, pattern, ...)
Nothing is returned to the workspace. This function exists for the creation and viewing of the temporary file that holds the list of commands issued in the current workspace.
The maximum number of lines to show. Inf will give all of the currently available history.
logical. If true, the lines are shown in reverse order. Note: this is not useful when there are continuation lines.
A character string to be matched against the lines of the history. When supplied, only unique matching lines are shown.
Arguments to be passed to grep when doing the matching.
Duncan Murdoch, with testing by A. Jonathan R. Godfrey.
This function exists because the standard history function in the utils package opens the internal pager that cannot be used by a blind person's screen reading software.
the original history
function.