Skip to contents

Clears the global prompt history. Useful for testing or to free memory.

Usage

clear_prompt_history()

Value

Invisibly returns the number of entries cleared.

Examples

if (FALSE) { # \dontrun{
# Clear history
clear_prompt_history()
} # }