[R] getting rid of .Rhistory and .RData
Jannis
bt_jannis at yahoo.de
Wed Aug 14 16:15:40 CEST 2013
OK, this seems to be only a problem when I use emacs/ess. I will try to
find a solution to this but this does not seem to be related to emacs.
In case anyone of you has an Idea: I use:
(setq inferior-R-args "--no-save --no-restore --silent")
to start R, but still a .RHistory file is saved.
Cheers
Jannis
On 14.08.2013 16:01, 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.
>
> 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.
>
More information about the R-help
mailing list