savehistory {base} | R Documentation |
Load or Save or Display the Commands History
Description
Load or save or display the commands history.
Usage
loadhistory(file = ".Rhistory")
savehistory(file = ".Rhistory")
history(max.show = 25, reverse = FALSE)
Arguments
file |
The name of the file in which to save the history. The path is relative to the current working directory. |
max.show |
The maximum nmber of lines to show. |
reverse |
logical. If true, the lines are shown in reverse order. Note: this is not useful when there are continuation lines. |
Details
This works under the readline
and GNOME interfaces, but not if
readline
is not available.