Hi

> -----Original Message-----
> From: R-help [mailto:r-help-boun...@r-project.org] On Behalf Of Jan Kim
> Sent: Wednesday, March 11, 2015 4:44 PM
> To: r-help@r-project.org
> Subject: Re: [R] .Rdata files -- fortune?
>
> On Wed, Mar 11, 2015 at 09:00:15AM -0400, Prof J C Nash (U30A) wrote:
> > Well put. I avoid them too, and go so far as to seek and destroy so
> > they don't get loaded unnoticed and cause unwanted consequences.
> >
> > ".RData files (the ones with nothing before the period) are just
> traps
> > for your future self, with no documentation. I avoid them like the
> plague."
>
> I absolutely agree. While I've solved the issue for myself long ago by
> always putting something like
>
>     alias R='R --no-save --no-restore'
>
> into my startup scripts (~/.bashrc or the like), I've seen too many
> others caught out by implicit saving / restoring of workspaces (e.g.
> by somehow just accepting that R "only works properly in this
> particular directory" and therefore doing all their work there at the
> cost of adopting various anti-patterns with respect to organising work
> into directories.
>
> Personally I think that auto saving / restoring workspaces should be
> reviewed, as it can, in practice, make it harder for people to render
> their work in a self-contained and reproducible way.

If this is considered I would beg for addind an option to keep autosave work 
for those who have different approach. If you keep the paradigm one project = 
one separate directory there shall be no problem with autosaving as you have 
only one Rdata file together with exported pictures, pdfs, xls and doc files.

If you save history to separate files you can also easily keep track of your 
work. If autosave is disabled and you could leave your session without warning 
I bet that there would be hundereds of questions similar to:

I worked whole day and after quitting R all my work is lost.

Cheers
Petr

>
> Best regards, Jan
>
> >
> > JN
> >
> > On 15-03-11 07:00 AM, r-help-requ...@r-project.org wrote:
> > > Message: 34
> > > Date: Tue, 10 Mar 2015 17:51:15 -0700
> > > From: Jeff Newmiller <jdnew...@dcn.davis.ca.us>
> > > To: Rolf Turner <r.tur...@auckland.ac.nz>, Erin Hodgess
> > >   <erinm.hodg...@gmail.com>, R help <r-h...@stat.math.ethz.ch>
> > > Subject: Re: [R] .Rprofile vs. First (more of an opinion question)
> > > Message-ID: <e5a53229-b271-42d9-beab-73142b2f6...@dcn.davis.ca.us>
> > > Content-Type: text/plain; charset="UTF-8"
> > >
> > > I concur with Rolf.
> > >
> > > .RData files (the ones with nothing before the period) are just
> traps for your future self, with no documentation. I avoid them like
> the plague. I refer to specifically-named Something.RData files in my
> .R/.Rnw/.Rmd files to cache results of long computations, but they are
> optional in my workflow because I always have R code that can
> regenerate them.
> > >
> > > .Rprofile files offer consistency of behavior  regardless of which
> working directory you use, and you can comment them.
> > > -------------------------------------------------------------------
> --------
> > > Jeff Newmiller                        The     .....       .....  Go
> Live...
> > > DCN:<jdnew...@dcn.davis.ca.us>        Basics: ##.#.       ##.#.
> Live Go...
> > >                                       Live:   OO#.. Dead: OO#..
> Playing
> > > Research Engineer (Solar/Batteries            O.O#.       #.O#.
> with
> > > /Software/Embedded Controllers)               .OO#.       .OO#.
> rocks...1k
> > > -------------------------------------------------------------------
> -
> > > ------- Sent from my phone. Please excuse my brevity.
> >
> > ______________________________________________
> > R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> > 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.
>
> --
>  +- Jan T. Kim -------------------------------------------------------+
>  |             email: jtt...@gmail.com                                |
>  |             WWW:   http://www.jtkim.dreamhosters.com/              |
>  *-----=<  hierarchical systems are for files, not for humans  >=-----*
>
> ______________________________________________
> R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
> 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.

________________________________
Tento e-mail a jakékoliv k němu připojené dokumenty jsou důvěrné a jsou určeny 
pouze jeho adresátům.
Jestliže jste obdržel(a) tento e-mail omylem, informujte laskavě neprodleně 
jeho odesílatele. Obsah tohoto emailu i s přílohami a jeho kopie vymažte ze 
svého systému.
Nejste-li zamýšleným adresátem tohoto emailu, nejste oprávněni tento email 
jakkoliv užívat, rozšiřovat, kopírovat či zveřejňovat.
Odesílatel e-mailu neodpovídá za eventuální škodu způsobenou modifikacemi či 
zpožděním přenosu e-mailu.

V případě, že je tento e-mail součástí obchodního jednání:
- vyhrazuje si odesílatel právo ukončit kdykoliv jednání o uzavření smlouvy, a 
to z jakéhokoliv důvodu i bez uvedení důvodu.
- a obsahuje-li nabídku, je adresát oprávněn nabídku bezodkladně přijmout; 
Odesílatel tohoto e-mailu (nabídky) vylučuje přijetí nabídky ze strany příjemce 
s dodatkem či odchylkou.
- trvá odesílatel na tom, že příslušná smlouva je uzavřena teprve výslovným 
dosažením shody na všech jejích náležitostech.
- odesílatel tohoto emailu informuje, že není oprávněn uzavírat za společnost 
žádné smlouvy s výjimkou případů, kdy k tomu byl písemně zmocněn nebo písemně 
pověřen a takové pověření nebo plná moc byly adresátovi tohoto emailu případně 
osobě, kterou adresát zastupuje, předloženy nebo jejich existence je adresátovi 
či osobě jím zastoupené známá.

This e-mail and any documents attached to it may be confidential and are 
intended only for its intended recipients.
If you received this e-mail by mistake, please immediately inform its sender. 
Delete the contents of this e-mail with all attachments and its copies from 
your system.
If you are not the intended recipient of this e-mail, you are not authorized to 
use, disseminate, copy or disclose this e-mail in any manner.
The sender of this e-mail shall not be liable for any possible damage caused by 
modifications of the e-mail or by delay with transfer of the email.

In case that this e-mail forms part of business dealings:
- the sender reserves the right to end negotiations about entering into a 
contract in any time, for any reason, and without stating any reasoning.
- if the e-mail contains an offer, the recipient is entitled to immediately 
accept such offer; The sender of this e-mail (offer) excludes any acceptance of 
the offer on the part of the recipient containing any amendment or variation.
- the sender insists on that the respective contract is concluded only upon an 
express mutual agreement on all its aspects.
- the sender of this e-mail informs that he/she is not authorized to enter into 
any contracts on behalf of the company except for cases in which he/she is 
expressly authorized to do so in writing, and such authorization or power of 
attorney is submitted to the recipient or the person represented by the 
recipient, or the existence of such authorization is known to the recipient of 
the person represented by the recipient.
______________________________________________
R-help@r-project.org mailing list -- To UNSUBSCRIBE and more, see
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.

Reply via email to