[R] Where is global environment?

Adaikalavan Ramasamy ramasamy at cancer.org.uk
Thu Jul 15 20:25:59 CEST 2004

getwd(), setwd()

On Thu, 2004-07-15 at 19:15, Mike Prager wrote:
> I am using R 1.9.1 under Windows XP Professional.
> Is there any R function that returns the filesystem path from which the 
> global environment (workspace) was loaded (and to which it will, by 
> default, be saved)?  This seems identical with the current directory, so in 
> any given session it is not too difficult to find out by other means.  But 
> for several reasons I would like to find this out from within R.
> Thanks.

More information about the R-help mailing list