Learn R Programming

R.filesets (version 2.15.1)

hasBeenModified.GenericDataFile: Checks whether the file has been modified

Description

Checks whether the file has been modified since last time checked.

Usage

# S3 method for GenericDataFile
hasBeenModified(this, update=TRUE, unknown=TRUE, ...)

Value

Returns TRUE, FALSE, or the value of argument unknown.

Arguments

unknown

The logical value returned if the timestamp for the previous modification, if any, is unknown.

update

If TRUE, the internal check timestamp is updated after calling this function, otherwise not.

...

Not used.

Author

Henrik Bengtsson

See Also

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