savehistory_2 | R Documentation |
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.
savehistory_2()
Nothing is returned, but the file path is printed to the console.
## Not run:
savehistory_2()
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.