getScriptPath {envDocument} | R Documentation |
getScriptPath
returns the full path of the script that called this function (if any)
or NULL if path is not available
getScriptPath(absolute = TRUE)
absolute |
Return absolute path (absolute = TRUE, default) or path relative to working directory (FALSE) |
## Not run:
mypath <- getScriptPath()
## End(Not run)