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."


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.

Reply via email to