getfd {toscutil} | R Documentation |
Get File Directory
Description
Return full path to current file directory
Usage
getfd(
on.error = stop("No file sourced. Maybe you're in an interactive shell?", call. =
FALSE),
winslash = "/"
)
Arguments
on.error |
Expression to use if the current file directory cannot be determined. In that case, |
winslash |
Path separator to use for windows |
Value
Current file directory as string
Examples
getfd(on.error = getwd())
## Not run:
getfd()
## End(Not run)
[Package toscutil version 2.8.0 Index]