scriptbase {script} | R Documentation |
Identify Script base Name
Description
Identifies script base name using script
.
if ext
is supplied (and script() is not empty string
),
the last dot (and anything that follows it) is removed if present;
ext
is appended.
Usage
scriptbase(ext = NULL)
Arguments
ext |
replacement extension |
Value
character: current filename, or empty string if indeterminate
Examples
scriptbase('.csv')
[Package script version 0.1.1 Index]