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

getFileSize.GenericDataFile

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

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.