Hi Loren, The great thing about R is its depth of functionality. You could write a .Last() function in your .Rprofile that makes a note of your session working directory (in a clear text file, or by modifying .Rprofile itself, ...) so that your .First() function in .Rprofile can find out where you were last and start you up there.
Cheers Steve McKinney -----Original Message----- From: [EMAIL PROTECTED] on behalf of Loren Engrav Sent: Mon 12/10/2007 10:43 AM To: [email protected] Subject: Re: [R-SIG-Mac] R.app ?bug or me I think discussion now confused, at least on my end, as I agree too Home directory in Preferences is good Drag and drop to go to new directories is good Random would be bad But most often when I start R.app I go back to the place I was, which is usually not home, so finding the drop to drag takes some effort, merely double clicking seemed like it would be convenient But I can drag and drop And more code would make the thing fatter with more bugs So I can do it -- Loren Engrav Univ Washington Seattle > From: Kasper Daniel Hansen <[EMAIL PROTECTED]> > Date: Sun, 9 Dec 2007 11:38:39 -0800 > To: Simon Urbanek <[EMAIL PROTECTED]> > Cc: Loren Engrav <[EMAIL PROTECTED]>, "[email protected]" > <[email protected]> > Subject: Re: [R-SIG-Mac] R.app ?bug or me > > > On Dec 9, 2007, at 7:12 AM, Simon Urbanek wrote: > >> >> On Dec 9, 2007, at 12:03 AM, Loren Engrav wrote: >> >>> I understand, and can work with this >>> >>> But then R in the Mac dock is not of much value as it always goes >>> "home"; no matter what you were working on last >>> >> >> The purpose of the dock is to get quick access to the application - >> that has no "value" in terms of which workspace you want to start - >> it's still up to you, not the dock. What I was talking about was R in >> the dock, so I don't see the connection. >> >> Anyway, as I said earlier, I think that changing the working directory >> on startup to some random path without user having a say in this is a >> really bad idea and I think a lot of users would find it disturbing. > > And I think most everyone else agrees with what Simon says here.. > > Kasper > > >> Cheers, >> Simon >> >> >>> >>>> From: Simon Urbanek <[EMAIL PROTECTED]> >>>> Date: Sat, 8 Dec 2007 23:08:34 -0500 >>>> To: Loren Engrav <[EMAIL PROTECTED]> >>>> Cc: "[email protected]" <[email protected]> >>>> Subject: Re: [R-SIG-Mac] R.app ?bug or me >>>> >>>> >>>> On Dec 8, 2007, at 7:48 PM, Loren Engrav wrote: >>>> >>>>> Thank you for the help >>>>> >>>>> Ah so, default is in Preferences and the new is under Misc in the >>>>> menu bar >>>>> I can do that and will >>>>> >>>>> But might it not be more convenient if on R.app start you went to >>>>> where you >>>>> were last time, since most often you wish to go to the place you >>>>> just left >>>>> >>>> >>>> Although it would be possible to make that a configurable option, >>>> it'd >>>> definitely not want that. It would make R's behavior sort of random, >>>> because you would never know where it will start from ... a really >>>> bad >>>> thing (IMHO). >>>> If you want to work on a specific project, it's much more >>>> convenient >>>> to just drag the directory on R to start it and you can then work on >>>> multiple projects conveniently and independently. >>>> >>>> >>>>> As for >>>>>> PS: Please use R-SIG-Mac for Mac-specific questions. >>>>> >>>>> This is appearing in R-SIG-Mac. What am I missing here? >>>>> >>>> >>>> Oops, sorry, my bad, the "To" was showing R-devel for some >>>> mysterious >>>> reason... >>>> >>>> Cheers, >>>> Simon >>>> >>>> >>>>> >>>>> >>>>>> From: Simon Urbanek <[EMAIL PROTECTED]> >>>>>> Date: Sat, 8 Dec 2007 18:57:14 -0500 >>>>>> To: Loren Engrav <[EMAIL PROTECTED]> >>>>>> Cc: "[email protected]" <[email protected]> >>>>>> Subject: Re: [R-SIG-Mac] R.app ?bug or me >>>>>> >>>>>> >>>>>> On Dec 8, 2007, at 6:37 PM, Loren Engrav wrote: >>>>>> >>>>>>> Using Mac 10.4.11 >>>>>>> And sessionInfo() say >>>>>>> >>>>>>>> sessionInfo() >>>>>>> R version 2.6.1 (2007-11-26) >>>>>>> powerpc-apple-darwin8.10.1 >>>>>>> >>>>>>> locale: >>>>>>> en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8 >>>>>>> >>>>>>> attached base packages: >>>>>>> [1] stats graphics grDevices utils datasets methods >>>>>>> base >>>>>>> >>>>>>> >>>>>>> Directory is ABC and history is XYZ >>>>>>> So I change directory to FGH and history to QRS >>>>>>> Then I quit R and say save workspace >>>>>>> >>>>>>> Then I start R >>>>>>> And am back to workspace ABC and history XYZ >>>>>> >>>>>> Well, if ABC and XYZ is in home and you didn't change the default >>>>>> settings and started R.app directly then that is exactly as >>>>>> expected. >>>>>> >>>>>> >>>>>>> Would seem I should be at FGH and QRS >>>>>>> >>>>>> >>>>>> Why? That would be quite bad as FGH and QRS have nothing to do >>>>>> with >>>>>> your home. The whole point of changing a directory is usually >>>>>> exactly >>>>>> the fact that you don't want to overwrite the workspace in your >>>>>> home. >>>>>> >>>>>> >>>>>>> What am I missing? Is it staring me in the face and I cannot see >>>>>>> it? >>>>>>> >>>>>> >>>>>> I'd say reading 4.3.3 in the R for Mac FAQ may possibly explain >>>>>> this a >>>>>> bit ... >>>>>> >>>>>> Cheers, >>>>>> Simon >>>>>> >>>>>> PS: Please use R-SIG-Mac for Mac-specific questions. >>>>>> >>>>> >>>>> _______________________________________________ >>>>> R-SIG-Mac mailing list >>>>> [email protected] >>>>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >>>>> >>>>> >>>> >>> >>> _______________________________________________ >>> R-SIG-Mac mailing list >>> [email protected] >>> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >>> >>> >> >> _______________________________________________ >> R-SIG-Mac mailing list >> [email protected] >> https://stat.ethz.ch/mailman/listinfo/r-sig-mac > _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac _______________________________________________ R-SIG-Mac mailing list [email protected] https://stat.ethz.ch/mailman/listinfo/r-sig-mac
