Learn R Programming

R.filesets (version 2.15.1)

getFileType.GenericDataFile: Gets the file type of a file

Description

Gets the file type of a file.

Usage

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

Value

Returns a character in lower case letters (which is of length zero if "empty" file).

Arguments

...

Not used.

Author

Henrik Bengtsson

Details

By default, this methods returns the filename extension, but subclasses may override this.

See Also

For more information see GenericDataFile.