getFileSize.GenericDataFile: Gets the size of a file

getFileSize.GenericDataFileR Documentation

Gets the size of a file

Description

Gets the size of a file.

Usage

## S3 method for class 'GenericDataFile'
getFileSize(this, what=c("numeric", "units"), sep="", ...)

Arguments

what

A character string specifying the data type returned. If "numeric", then a numeric value is returned. If "units", then a human-readable character string is returned.

sep

A character string.

...

Not used.

Value

Returns a numeric or a character string. A missing value (NA) is returned if the file does not exist.

Author(s)

Henrik Bengtsson

See Also

file.info(). For more information see GenericDataFile.


R.filesets documentation built on May 29, 2024, 9:10 a.m.