0

I try stick to Base R as much as I can due to my experience with workplaces blocking installation of packages in the past.

If there truly are no good functions in Base R then I will look into packages, but I just want to make sure I am not missing anything.

  • 4
    You should be able to use `tools::md5sum`. That comes with R by default. It's one of the base packages: `names(which(installed.packages()[ ,"Priority"] == "base", ))` – MrFlick Apr 14 '23 at 16:52
  • 1
    More info on the packages included in "Base R": https://stackoverflow.com/questions/9700799/difference-between-r-base-and-r-recommended-packages – Jon Spring Apr 14 '23 at 17:19
  • Alternatively, this should be pretty easy to code up on your own. Makes a fun small project. – Carl Witthoft Apr 14 '23 at 18:29

1 Answers1

2

The tools package is a "base" package and is automatically included with R. So you can use tools::md5sum to calculate the MD5 sum without further dependencies.

MrFlick
  • 195,160
  • 17
  • 277
  • 295