[R] Where is global environment?

From: Mike Prager <Mike.Prager_at_noaa.gov>
Date: Fri 16 Jul 2004 - 04:15:28 EST


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.

-- 
Michael Prager, Ph.D.
Population Dynamics Team, NMFS SE Fisheries Science Center
NOAA Center for Coastal Fisheries and Habitat Research
Beaufort, North Carolina  28516
http://shrimp.ccfhrb.noaa.gov/~mprager/

______________________________________________
R-help@stat.math.ethz.ch mailing list
https://www.stat.math.ethz.ch/mailman/listinfo/r-help
PLEASE do read the posting guide! http://www.R-project.org/posting-guide.html
Received on Fri Jul 16 04:23:45 2004

This archive was generated by hypermail 2.1.8 : Fri 18 Mar 2005 - 02:36:36 EST