baseName: Basename of a FilePath object

Description Usage Arguments Value Author(s) Examples

Description

Basename of a FilePath object

Usage

1
2
3
4
baseName(fp)

## S4 method for signature 'FilePath'
baseName(fp)

Arguments

fp

character, file paths.

Value

character vector of basenames

Author(s)

Kaiyin Zhong, Fan Liu

Examples

1
2
3
4
5
## Not run: 
fp = filePath(R.home())
baseName(fp)

## End(Not run)

CollapsABEL documentation built on May 1, 2019, 7:28 p.m.