opt_get_path: Get path current running script

Description Usage Arguments Value References See Also Examples

View source: R/opt_get_path.R

Description

Get path current running script

Usage

1
opt_get_path(opts = commandArgs(), full.name = FALSE)

Arguments

opts

character; cector from which to parse options (default: commandArgs() )

full.name

boolean; expand to full path(?)

This function is deprecated, use this_file instead.

Value

character; path to Rscript or NA if there isn't one.

References

http://stackoverflow.com/questions/1815606/rscript-determine-path-of-the-executing-script

See Also

Examples

1
2

decisionpatterns/optigrab documentation built on Jan. 8, 2019, 3:28 a.m.