[R] Where does R store workspace and commands that load on startup

Sarah Goslee sarah.goslee at gmail.com
Sun Mar 31 21:37:29 CEST 2013


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



More information about the R-help mailing list