powered by
Get the command history.
raw_history()
a character vector
The command history is saved to a temporary file with savehistory and read back into a character vector.
savehistory
# NOT RUN { hist <- raw_history() length(hist) # }
Run the code above in your browser using DataLab