0

Is there a package or function that can be applied to a whole and heavy data object to get back a measure of changes in the file? Something based on hash keys would be great, so I can keep track on a shared file.

HasaniH
  • 8,232
  • 6
  • 41
  • 59
daniel
  • 1,186
  • 2
  • 12
  • 21

1 Answers1

1

digest package (digest function) lets you create hash functions for R objects (possible ones: "md5", "sha1", "crc32", "sha256", "sha512", "xxhash32", "xxhash64"). You can also run external programs from R (e.g. md5sum on linux) with system commend (see e.g. here).

Community
  • 1
  • 1
Tim
  • 7,075
  • 6
  • 29
  • 58