[R-sig-Debian] source filename information within the source?

Prasenjit Kapat kapatp at gmail.com
Thu Nov 12 03:59:39 CET 2009


Hi,
Excuse me for using this list as a proxy for "r-sig-linux"!

Is there anything analogous to `basename $0` (more importantly, "$0")
of bash in R? Of course, this only makes sense in either BATCH mode or
source() or  shebang scripts (e.g using littler or Rscript)?

Thanks for being considerate ;)
-- 
Prasenjit



More information about the R-SIG-Debian mailing list