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

getChecksum.GenericDataFile

Gets the checksum of a file


Description

Gets the checksum of a file.

Usage

## S3 method for class 'GenericDataFile'
getChecksum(this, write=NA, force=FALSE, verbose=FALSE, ...)

Arguments

write

If TRUE or NA and a checksum file does not exists, then a checksum file is created, iff possible. If NA and the file could not be created, then it falls back to FALSE, but if TRUE an error is thrown. If FALSE and no checksum file exists, the checksum is calculated on the fly.

force

If FALSE, the file exists and has not be modified since, then the cached checksum is returned.

verbose

...

...

Not used.

Value

Returns a character string, which can be NA if file is missing.

Author(s)

Henrik Bengtsson

See Also

Internally digest is used. *readChecksum(). *writeChecksum(). *compareChecksum(). 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.