[R] What is the name of this program

BXC (Bendix Carstensen) bxc at novonordisk.com
Tue Nov 28 14:14:31 CET 2000


Suppose you run the program x.R by

rterm < x.R > x.Rl

Is there a way from within x.R to access the full path name of
the file x.R? The purpose is of course to write a few lines
in my .Rprofile that will print the pathname of the program
somewhere near the top of x.Rl.

I use WinNT4. (soon Win2000)

Bendix Carstensen

----------------------
Bendix Carstensen
Senior Statistician
Steno Diabetes Centre
Niels Steensens Vej 2
DK-2820 Gentofte
Denmark
tel: +45 44 43 87 38
mob: +45 28 25 87 38
fax: +45 44 43 73 13
bxc at novo.dk
www.biostat.ku.dk/~bxc
----------------------
-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-.-
r-help mailing list -- Read http://www.ci.tuwien.ac.at/~hornik/R/R-FAQ.html
Send "info", "help", or "[un]subscribe"
(in the "body", not the subject !)  To: r-help-request at stat.math.ethz.ch
_._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._._



More information about the R-help mailing list