getFileName: Get the name of a 'source'-ed file

Description Usage Arguments Value Author(s)

Description

Use getFileName in a file that is source-ed. Based on http://stackoverflow.com/a/1816487/1380598.

Usage

1
2
3
4
getFileName(fullname)

## S4 method for signature 'logical'
getFileName(fullname)

Arguments

fullname

Logical (default FALSE) indicating whether the full path should be returned.

Value

Character string representing the filename.

Author(s)

Alex Chubaty


achubaty/amc documentation built on April 6, 2021, 6:56 a.m.