3

I am trying to create clustered box plots in R. Everything about my code seems on track, but when I try to run it I get the error warning

"Error in loadNamespace(name) : there is no package called ‘digest’.

When I try to download the package digest in the R package Installer I get a bunch of errors stating that the download of digest failed.

How do I get the digest package, OR is there a way to do clustered box plots without this? Thanks!

Rui Barradas
  • 70,273
  • 8
  • 34
  • 66
Jackie Albert
  • 33
  • 1
  • 3
  • Check if R version is up to date? – jay.sf Jan 31 '18 at 18:23
  • It is a macOS specific problem for which we got issue tickets #76, #77, #78 and #79 at GitHub. I escalated it to the r-devel list and CRAN yesterdas, no answer yet AFAIK. I just replied on-list to bump this. – Dirk Eddelbuettel Jan 31 '18 at 18:31

2 Answers2

4

I had the same problem with install.packages("digest") on OS10.11.6 (running with the defaults). But it worked by specifying the repos:

install.packages('digest', repos='http://cran.us.r-project.org')
Thomas Guillerme
  • 1,747
  • 4
  • 16
  • 23
3

I had a similar error message recently and managed to solve the problem by downloading the tar.gz file directly from the CRAN Repository (see https://cran.r-project.org/web/packages/digest/index.html and download "digest_0.6.15.tar.gz") and then you can install it in RStudio (Tools -> Install Packages -> Install from Package/Archive File).

lisah
  • 186
  • 1
  • 9