[R] getting rid of .Rhistory and .RData

Patrick Connolly p_connolly at slingshot.co.nz
Wed Aug 14 22:05:07 CEST 2013


On Wed, 14-Aug-2013 at 04:01PM +0200, Jannis wrote:

|> Well, I have made some tests with the 'no save' option. This only
|> seems to control the saving of .RData files (at least none appeared
|> in the working directory in my tests). A file called .RHistory is
|> still created. I can now put some code to delete this file in .Last
|> function but somehow I think that R should provide an option not to
|> clutter the working directories in such ways. Or to use one central
|> .RHistory file.

That would be a terrible idea.  I have dozens of directories and I
want to keep the objects, code and history pertinent to each one.


|> 
|> Any ideas?
|> 
|> Jannis
|> 
|> On 14.08.2013 14:33, Jannis wrote:
|> >Thanks, I will look into ways to tell ess/emacs to use such
|> >options. I am, however, quite sure that I have never answered
|> >"yes" to the question when quitting R.
|> >
|> >Cheers
|> >Jannis
|> >
|> >
|> >On 13.08.2013 20:21, MacQueen, Don wrote:
|> >>  R --no-save
|> >
|> >______________________________________________
|> >R-help at r-project.org mailing list
|> >https://stat.ethz.ch/mailman/listinfo/r-help
|> >PLEASE do read the posting guide
|> >http://www.R-project.org/posting-guide.html
|> >and provide commented, minimal, self-contained, reproducible code.
|> >
|> 
|> ______________________________________________
|> R-help at r-project.org mailing list
|> https://stat.ethz.ch/mailman/listinfo/r-help
|> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
|> and provide commented, minimal, self-contained, reproducible code.

-- 
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.   
   ___    Patrick Connolly   
 {~._.~}                   Great minds discuss ideas    
 _( Y )_  	         Average minds discuss events 
(:_~*~_:)                  Small minds discuss people  
 (_)-(_)  	                      ..... Eleanor Roosevelt
	  
~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.~.



More information about the R-help mailing list