[R] how to get current workspace name?

Aimin Yan aiminy at iastate.edu
Sat Mar 24 06:10:04 CET 2007


Use getwd(), I can get current directory name.

Now I want to get current workspace name, Does anyone know how to do that?

here is information about my R

 > sessionInfo()
R version 2.4.0 (2006-10-03)
i386-pc-mingw32

locale:
LC_COLLATE=English_United States.1252;LC_CTYPE=English_United 
States.1252;LC_MONETARY=English_United 
States.1252;LC_NUMERIC=C;LC_TIME=English_United States.1252

attached base packages:
[1] "splines"   "methods"   "stats"     "graphics"  "grDevices" "utils"
[7] "datasets"  "base"

other attached packages:
     nnet    class survival  mlbench     MASS    rpart  RWinEdt
"7.2-29" "7.2-29"   "2.30"  "1.1-2" "7.2-29" "3.1-32"  "1.7-5"

Aimin



More information about the R-help mailing list