Become an expert in R — Interactive courses, Cheat Sheets, certificates and more!
Get Started for Free

getFilename.GenericDataFile

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

Easy Handling of and Access to Files Organized in Structured Directories

v2.14.0
LGPL (>= 2.1)
Authors
Henrik Bengtsson [aut, cre, cph]
Initial release

We don't support your browser anymore

Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.