Hey everyone,
Sorry if this is a really simple question, I'm a newcomer to R and struggling to find useful resources. I'm currently running R version 3.6 on an ARM mac. I'm trying to start working on this tutorial, but I'm having trouble with installing the necessary packages.
- vegan
- ggplot2
- spaa
- devtools
- EcolUtils
- biomformat
Previously, I was using R version 4.4.1, but this only let me install the first four packages, while the last two returned an error message saying that there was no version built for my R version. After looking at the github pages for them, I decided to use R 3.6 instead, but now only ggplot2 and spaa download properly. Vegan runs into the same error:
Warning in install.packages :
package ‘~/Downloads/vegan_2.6-6.1.tar’ is not available (for R version 3.6.3)
Warning in install.packages :
unable to access index for repository https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6:
cannot open URL 'https://cran.rstudio.com/bin/macosx/el-capitan/contrib/3.6/PACKAGES'
while devtools ended up like this after 10 minutes:
Warning in install.packages :
installation of package ‘devtools’ had non-zero exit status
The downloaded source packages are in
‘/private/var/folders/zh/6x6yfjld2fb8vjw6rdwp010h0000gn/T/RtmpIQE1Bh/downloaded_packages’
Does anyone know how to get over these issues? There might be something I'm missing, I just don't understand why these packages won't install. Thanks in advance.