Learn R Programming

R.filesets (version 2.15.1)

getFilename.GenericDataFile: Gets the filename of the file

Description

Gets the filename of the file.

Usage

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

Value

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

Arguments

...

Optional arguments passed to *getPathname().

Author

Henrik Bengtsson

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.

See Also

For more information see GenericDataFile.