Learn R Programming

GetoptLong (version 1.0.5)

get_scriptdir: Directory of current script

Description

Directory of current script

Usage

get_scriptdir()

Arguments

Value

If the R script is not run from the command-line, it returns NULL.

Examples

Run this code
# NOT RUN {
# There is no example
NULL

# }

Run the code above in your browser using DataLab