getFilename.GenericDataFile: Gets the filename of the file

getFilename.GenericDataFileR Documentation

Gets the filename of the file

Description

Gets the filename of the file.

Usage

## S3 method for class 'GenericDataFile'
getFilename(this, ...)

Arguments

...

Optional arguments passed to *getPathname().

Details

The filename of a file is the pathname excluding any path. For instance, the filename of path/to/foo,a.2,b.ext is foo,a.2,b.ext.

Value

Returns a character string (NA if an "empty" file).

Author(s)

Henrik Bengtsson

See Also

For more information see GenericDataFile.


R.filesets documentation built on July 21, 2022, 5:11 p.m.