sys.script {funr} | R Documentation |
Get path of current script
sys.script()
http://stackoverflow.com/questions/1815606/rscript-determine-path-of-the-executing-script
## Not run:
## cat foo.R
## library(funr);sys.script()
## source("foo.R")
## Rscript foo.R
## End(Not run)