savehistory_2: Save Command History to "command_history.date.scriptname.txt"

View source: R/CodeAndRoll2.R

savehistory_2R Documentation

Save Command History to "command_history.date.scriptname.txt"

Description

This function saves the command history of the current R session to a text file. The file name includes the current date and, if available, the name of the current R script (when running in RStudio). The file is saved in the current working directory.

Usage

savehistory_2()

Value

Nothing is returned, but the file path is printed to the console.

Examples

## Not run: 
savehistory_2()

## End(Not run)

vertesy/CodeAndRoll2 documentation built on Nov. 20, 2024, 5:23 a.m.