need help with packages installation error

Hello,
i have a problem with my installation package in Rstudio anaconda, macOS catalina
here is the message:

install.packages("reshape2")
Installing package into ‘/Users/matinleyedouard/Documents/data analyste/projet 3’
(as ‘lib’ is unspecified)
also installing the dependency ‘plyr’

trying URL 'https://mirror.ibcp.fr/pub/CRAN/src/contrib/plyr_1.8.6.tar.gz'
Content type 'application/x-gzip' length 401191 bytes (391 KB)

downloaded 391 KB

trying URL 'https://mirror.ibcp.fr/pub/CRAN/src/contrib/reshape2_1.4.4.tar.gz'
Content type 'application/x-gzip' length 37307 bytes (36 KB)

downloaded 36 KB

  • installing source package ‘plyr’ ...
    ** package ‘plyr’ successfully unpacked and MD5 sums checked
    ** using staged installation
    ** libs
    Error in if (nzchar(SHLIB_LIBADD)) SHLIB_LIBADD else character() :
    argument is of length zero
  • removing ‘/Users/matinleyedouard/Documents/data analyste/projet 3/plyr’
    Warning in install.packages :
    installation of package ‘plyr’ had non-zero exit status
    ERROR: dependency ‘plyr’ is not available for package ‘reshape2’
  • removing ‘/Users/matinleyedouard/Documents/data analyste/projet 3/reshape2’
    Warning in install.packages :
    installation of package ‘reshape2’ had non-zero exit status

The downloaded source packages are in
‘/private/var/folders/6t/26434rs54b7fvxj6970wr8z00000gn/T/RtmpF7a6oE/downloaded_packages’

library(reshape2)
Error in library(reshape2) : there is no package called ‘reshape2’

Any help will be appreciate
Thanks in advance

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