Dear R'ers, I use R version 2.10.1 (2009-12-14) Copyright (C) 2009 The R Foundation for Statistical Computing ISBN 3-900051-07-0 and Mac OS X 10.5.8 and use to work in different dierectories. When doing so it appears as if the .Rhistory file from my home directory always is loaded even when I want the file from the directory where I'm working. I have tried to fix it through preferences under R but ... How should this be tweeked? Fredrik ######################## Fredrik Lundgren fredrik.bg.lundgren at gmail.com Engelbrektsgatan 31 582 21 Link?ping tel 013 - 47 30 117 mob 0706 - 86 39 29 Sommarhus: Ljungn?s 158 380 30 Rockneby 0480 - 650 98
Fredrik, In R.app this indeed depends on your Startup preference settings. What do you have specified? Something starting with '~/...'? Rob -------------- next part -------------- A non-text attachment was scrubbed... Name: Screen shot 2010-04-11 at 2.02.16 PM.png Type: image/png Size: 132902 bytes Desc: not available URL: <https://stat.ethz.ch/pipermail/r-help/attachments/20100411/c5d8e04a/attachment.png> -------------- next part -------------- On Apr 11, 2010, at 12:38 PM, Fredrik Lundgren wrote:> Dear R'ers, > > I use > R version 2.10.1 (2009-12-14) > Copyright (C) 2009 The R Foundation for Statistical Computing > ISBN 3-900051-07-0 > and > Mac OS X 10.5.8 > > and use to work in different dierectories. When doing so it appears as if the .Rhistory file from my home directory always is loaded > even when I want the file from the directory where I'm working. > I have tried to fix it through preferences under R but ... > How should this be tweeked? > > > Fredrik > ######################## > > Fredrik Lundgren > fredrik.bg.lundgren at gmail.com > > Engelbrektsgatan 31 > 582 21 Link?ping > tel 013 - 47 30 117 > mob 0706 - 86 39 29 > > Sommarhus: Ljungn?s 158 > 380 30 Rockneby > 0480 - 650 98 > > ______________________________________________ > 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.
On Sun, 11 Apr 2010, Fredrik Lundgren wrote:> Dear R'ers, > > I use > R version 2.10.1 (2009-12-14) > Copyright (C) 2009 The R Foundation for Statistical Computing > ISBN 3-900051-07-0 > and > Mac OS X 10.5.8And should therefore post questions like this to R-sig-mac.> > and use to work in different dierectories. When doing so it appears as if the > .Rhistory file from my home directory always is loaded > even when I want the file from the directory where I'm working. > I have tried to fix it through preferences under R but ... > How should this be tweeked? >By reading the R for Mac OS X FAQ 4.3.3 The current and startup working directories which lays it all out. Chuck> > Fredrik > ######################## > > Fredrik Lundgren > fredrik.bg.lundgren at gmail.com > > Engelbrektsgatan 31 > 582 21 Link?ping > tel 013 - 47 30 117 > mob 0706 - 86 39 29 > > Sommarhus: Ljungn?s 158 > 380 30 Rockneby > 0480 - 650 98 > > ______________________________________________ > 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. >Charles C. Berry (858) 534-2098 Dept of Family/Preventive Medicine E mailto:cberry at tajo.ucsd.edu UC San Diego http://famprevmed.ucsd.edu/faculty/cberry/ La Jolla, San Diego 92093-0901