Hi,
I'm a new user of Rstudio and trying to learn statistical analysis on R with mac os Big Sur. When I try to install the magick package, either manually (By downloading the .tar file from the CRAN website) or by using installing package option, I get errors both ways.
While installing via Installing package function, it shows:
> install.packages("magick")
trying URL 'http://cran.rstudio.com/bin/macosx/contrib/4.1/magick_2.7.2.tgz'
Content type 'application/x-gzip' length 38926256 bytes (37.1 MB)
===================
downloaded 14.1 MB
Warning in install.packages :
downloaded length 14822878 != reported length 38926256
Warning in install.packages :
URL 'http://cran.rstudio.com/bin/macosx/contrib/4.1/magick_2.7.2.tgz': Timeout of 60 seconds was reached
Error in download.file(url, destfile, method, mode = "wb", ...) :
download from 'http://cran.rstudio.com/bin/macosx/contrib/4.1/magick_2.7.2.tgz' failed
Warning in install.packages :
download of package ‘magick’ failed
If I download the .tar file from the same link above and try to install it manually, it shows this:
install.packages("~/Downloads/magick_2.7.2.tar", repos = NULL)
Error in install.packages : type == "both" cannot be used with 'repos = NULL'type or paste code here