Learn R Programming

gbutils (version 0.2-1)

raw_history: Get the command history

Description

Get the command history.

Usage

raw_history()

Arguments

Value

a character vector

Details

The command history is saved to a temporary file with savehistory and read back into a character vector.

Examples

Run this code
# NOT RUN {
hist <- raw_history()
length(hist)
# }

Run the code above in your browser using DataLab