[R] How do I reload sessions from a non-default directory in OS X?
ronggui.huang at gmail.com
Wed Dec 24 04:38:27 CET 2008
You can use setwd() to change the working directory.
On Wed, Dec 24, 2008 at 6:18 AM, Bill McNeill (UW)
<billmcn at u.washington.edu> wrote:
> i use the GUI version of R on OS X. I launch it by double-clicking on the R
> icon. The process always starts in my home directory which means that the
> only .RData file that is ever read in is the one in my home directory. I
> would instead like to have different R sessions saved in different
> directories, but I can't figure out how to do this.
> A workaround is to use the shell version of R and always change to the
> directory containing my saved session before launching, but I prefer to use
> the GUI version.
> Is there a command to tell R to load a session from a particular location?
> How do other people with Macs do this?
> Bill McNeill
> [[alternative HTML version deleted]]
> R-help at r-project.org mailing list
> PLEASE do read the posting guide http://www.R-project.org/posting-guide.html
> and provide commented, minimal, self-contained, reproducible code.
HUANG Ronggui, Wincent
Tel: (00852) 3442 3832
PhD Candidate, City University of Hong Kong
RQDA project: http://rqda.r-forge.r-project.org/
More information about the R-help