R: Gets the file type of a file

getFileType.GenericDataFile {R.filesets} | R Documentation

## Gets the file type of a file

### Description

Gets the file type of a file.

### Usage

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

### Arguments

`...` | Not used.

### Details

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

### Value

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

### Author(s)

Henrik Bengtsson

### See Also

For more information see `GenericDataFile`.

[Package R.filesets version 2.11.0 Index]