[R] How do I reload sessions from a non-default directory in OS X?

Charles C. Berry cberry at tajo.ucsd.edu
Wed Dec 24 04:22:47 CET 2008

In the

 	R for Mac OS X FAQ

(available in the Help menu)

 	4.5.4 Misc Menu
 	4.5.5 Workspace Menu

This is an R-sig-mac question, so posting there would have been preferred.


On Tue, 23 Dec 2008, Bill McNeill (UW) 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
> http://staff.washington.edu/billmcn/index.shtml
> 	[[alternative HTML version deleted]]
> ______________________________________________
> 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

More information about the R-help mailing list