Error Information:
I'm trying to install the forecast package in R Studio but it won't work.
The first warning message I get is:
Warning in install.packages :
unable to access index for repository https://ftp.osuosl.org/pub/cran/bin/macosx/big-sur-arm64/contrib/4.1:
cannot open URL 'https://ftp.osuosl.org/pub/cran/bin/macosx/big-sur-arm64/contrib/4.1/PACKAGES'
Packages which are only available in source form, and may need compilation of C/C++/Fortran:
‘fracdiff’ ‘lmtest’ ‘tseries’ ‘urca’ ‘forecast’
Do you want to attempt to install these from sources? (Yes/no/cancel)
If I type Yes, a long message comes up and ends with:
Warning in install.packages :
installation of package ‘forecast’ had non-zero exit status.
I know this is not a general connectivity issue because I was able to install other packages like prophet.
Steps taken so far -
- I've tried turning off the 'Use secure download method for HTTP" under preferences
- I've tried using mirror servers
- I've tried updating my Mac OS from Big Sur to Ventura
- I've restarted R multiple times
System Information:
- RStudio Edition: Desktop
- RStudio Version: Build 492? "Prairie Trillium Release"? I'm not sure that's what it's showing me when I click on About R Studio
- OS Version: OS Ventura 13.4
- R Version: 4.1.2
Also:
- RStudio diagnostics report:
- Your
sessionInfo()
: - RStudio crash report:
- RStudio application log files: