dirName: Directory name of a file path

Description Usage Arguments Value Author(s) Examples

Description

Directory name of a file path

Usage

1
2
3
4
dirName(fp)

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

Arguments

fp

FilePath object

Value

character vector of directories

Author(s)

Kaiyin Zhong, Fan Liu

Examples

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

## End(Not run)

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