jroyrobertson at comcast.net
2013-Mar-31 17:49 UTC
[R] Where does R store workspace and commands that load on startup
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. I am running 2.15.3 on Ubuntu operating system on PC (Zorin). If there is a difference between Windows and Debian, I will also ask the Debian mail list. Thank you, Roy Robertson [[alternative HTML version deleted]]
Sarah Goslee
2013-Mar-31 19:37 UTC
[R] Where does R store workspace and commands that load on startup
By default R saves them as .RData and .Rhistory in the working directory - files with names beginning with a . are invisible on linux by default. ls -a at a shell command line in that directory will show them to you. Sarah On Sun, Mar 31, 2013 at 1:49 PM, <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. > I am running 2.15.3 on Ubuntu operating system on PC (Zorin). If there is a difference between Windows and Debian, I will also ask the Debian mail list. > > Thank you, > > Roy Robertson > >-- Sarah Goslee http://www.functionaldiversity.org