Search String: Display: Description: Sort:

Results:

References: [ +subject:/^(?:^\s*(re|sv|fwd|fw)[\[\]\d]*[:>-]+\s*)*\[S\]\s+Automatic\s+returning\s+working\s+directory\s*$/: 3 ]

Total 3 documents matching your query.

1. [S] Automatic returning working directory (score: 1)
Author: Kin Cheung <kin_cheung@alkermes.com>
Date: Tue, 27 Apr 1999 10:57:27 -0400
S+ users, Is there a function that automatically returns the path of my working directory along with the program name that I am running my program in. Suppose I have a file name called "sim.ssc" and
/archives/html/s-news/1999-04/msg00246.html (7,620 bytes)

2. RE: [S] Automatic returning working directory (score: 1)
Author: Kin Cheung <kin_cheung@alkermes.com>
Date: Tue, 27 Apr 1999 11:54:41 -0400
With the help of others, I got it to work. Thanks! cwd_getenv(c("S_PROJ")) pgram_"sim.ssc" mtext(side=1,paste(cwd,pgram,sep="\\")) --Kin Hi, I assume from your file paths that you are working with S
/archives/html/s-news/1999-04/msg00247.html (10,276 bytes)

3. Re[2]: [S] Automatic returning working directory (score: 1)
Author: Jean_Adams@usgs.gov (Jean Adams)
Date: Tue, 27 Apr 1999 12:45:32 -0600
You can get the name of the script file using the function guiGetCurrMetaDoc() So Kin's commands could be modified as follows: cwd _ getenv(c("S_PROJ")) pgram _ paste(guiGetCurrMetaDoc("Script"), "ss
/archives/html/s-news/1999-04/msg00250.html (10,949 bytes)


This search system is powered by Namazu