Description Usage Arguments Details Value Examples
Compute file hash without checking file.access
1 2 3 |
object |
R object or file |
algo |
digest hash algorithm |
serialize |
FALSE allows hash comparison of known output |
file |
logical TRUE iff object is file |
length |
Size of object/file to hash |
skip |
How many input bytes to skip for computing hash |
ascii |
ASCII or binary compression |
raw |
logical digest output in binary form |
Uses digest from package "digest". Authors Dirk Eddelbuettel edd@debian.org for the R interface; Antoine Lucas for the integration of crc32; Jarek Tuszynski for the file-based operations; Henrik Bengtsson and Simon Urbanek for improved serialization patches; Christophe Devine for the hash function implementations for sha-1, sha-256 and md5; Jean-loup Gailly and Mark Adler for crc32; Hannes Muehleisen for the integration of sha-512; Jim Hester for the integration of xxhash32, xxhash64 and murmur32.
The filehash
1 2 3 4 5 6 | ## Not run:
file0 <- file.path(pullSourceInfo("adaprHome")$project.path,
project.directory.tree$analysis,"read_data.R")
Digest(file=file0)
## End(Not run)
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.