Skip to content
Prev 5927 / 15075 Next

R.app

Loren,
On May 5, 2009, at 6:37 PM, Loren Engrav wrote:

            
Currently, no. For history, yes, but not for .RData, because the  
assumption is that you want to save the workspace in the directory  
that you are in at the time (many users start R and then change the  
working directory to the project directory so this behavior is  
explicitly intended). This is also the behavior in R on the command  
line. Note that you are explicitly saving the workspace, so it's not  
as if R.app is saving things on its own randomly - you actually told  
it to do so.

We could add an option that allows you to force R.app to save the  
workspace in the same location that it was loaded from or started  
(which means that you would specify that location implicitly by the  
way you start R.app). I'm slightly hesitant to do that, because it's  
not something one is used to from R, but it could be done (but then  
the .Rhistory option is already non-standard ...).

Cheers,
Simon