equals.GenericDataFile | R Documentation |
Checks if a file equals another.
## S3 method for class 'GenericDataFile'
equals(this, other, ...)
other |
The other |
... |
Not used. |
The two files compared are equal if they have the same pathname.
The two files compared are not equal if:
Argument other
is not a GenericDataFile
, or
their file sizes differ, or
their file checksums differ.
If none of the above occurs, the two files are considered equal.
Note that subclasses use refined rules.
Returns TRUE
if the file equals the other, otherwise FALSE
.
If FALSE
, attributes are added specifying the pathnames of the two
files compared, and the reason for them being different.
Henrik Bengtsson
*getFileSize()
.
*getChecksum()
.
For more information see GenericDataFile
.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.