This help topic is for R version 1.1. For the current version of R, try https://stat.ethz.ch/R-manual/R-patched/library/base/html/savehistory.html
savehistory {base}R Documentation

Save Commands History

Description

Save the commands history in a file.

Usage

savehistory(file = ".Rhistory")

Arguments

file

The name of the file in which to save the history. The path is relative to the current working directory.

Details

This works in Rgui and Rterm but not in embedded/DCOM versions.


[Package base version 1.1 ]