Re: [R] .Rprofile vs. First (more of an opinion question)

2015-03-11 Thread Jim Lemon
Hi Erin, If you want to use .First, just put it in the directory where you start up your R session, use it to change all the options that you want for all projects, then source a file to switch to the directory that you want. I call mine SelectAnalysis.R and it just displays a list of current

Re: [R] .Rprofile vs. First (more of an opinion question)

2015-03-10 Thread Jeff Newmiller
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

[R] .Rprofile vs. First (more of an opinion question)

2015-03-10 Thread Erin Hodgess
Hello again I am using R-3.1.2 on Windows 7. I am the only one using this particular computer. My question is probably more of an opinion question. I want to set a repos with the options. Also, I want to setwd and load a particular workspace. Am I better off to put everything into .Rprofile,

Re: [R] .Rprofile vs. First (more of an opinion question)

2015-03-10 Thread Rolf Turner
On 11/03/15 11:17, Erin Hodgess wrote: Hello again I am using R-3.1.2 on Windows 7. I am the only one using this particular computer. My question is probably more of an opinion question. I want to set a repos with the options. Also, I want to setwd and load a particular workspace. Am I