Skip to content
Prev 2068 / 3656 Next

Storage of automatically loaded workspace and command files

On 31 March 2013 at 17:58, jroyrobertson at comcast.net wrote:
| When I close R and answer yes to save workspace, R automatically loads it and apparently also the command history at start up. I would like to know where R stores this information. I know that I can save .RData and .Rhistory files, but I would like to know how(where) R stores this information automatically. I have not found any .RData or .Rhistory files associated with start up. 

Generally below your $HOME directory -- so ~/.RData and ~/.Rhistory.

Hth, Dirk