Why can't I download packages like moments, ggplot2, or e1071 into R?

I downloaded the latest R for mac because my version on my computer was saying that JMP was old.

Error Information: Error in library(moments) : there is no package called ‘moments’; Error in library(ggplot2) : there is no package called ‘ggplot2’; Error in library(e1071) : there is no package called ‘e1071’

Description of issue - cannot download packages. Yet some commands still work (like shapiro-wilk test and creating plots).

Steps taken so far - I deleted R from my computer several times and used different crans.

System Information:

  • RStudio Edition: (Desktop or Server) R 4.0.3 binary for macOS 10.13 (High Sierra) and higher, signed and notarized package
  • RStudio Version:
  • OS Version:
  • R Version:


  • RStudio diagnostics report:
  • Your sessionInfo():
  • RStudio crash report:
  • RStudio application log files:

From Troubleshooting Guide: Using RStudio



library( ) just loads a package. It does not install it.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.