h: History

View source: R/h.R

hR Documentation

History

Description

Show full command history.

Usage

h(max.show = Inf, reverse = TRUE, ...)

Arguments

max.show

the number of previous commands to show (default is entire log).

reverse

whether to show lines in reverse order (not useful when there are continuation lines).

...

passed to history and file.show.

Note

Shorthand notation for history() with improved support for Emacs ESS.

The base history function returns an error inside an Emacs session. As a workaround, this function checks if it is run from inside Emacs and if that is the case, it calls file.show to show the ‘.Rhistory’ file (ignoring both max.show and reverse).


arni-magnusson/arni documentation built on Nov. 3, 2023, 7:35 p.m.