I was trying to install the "forecast" package and had trouble installing it. I tried install.packages ("Forecasting") and received this error message:
Package in 'C: /Users/DT217/Documents/R/win-library/3.1' Installing (as 'Lib' is unspecified) 二进制 二进制 版本 (将 被 安装), 但 源 代码 版本 是 后 后 的: Binary source forecast 5.8 5.9 Also the url trying to depend on 'Zoo', 'RCPARMDMLO' http : //cran.ststudio Warning: Can not open: Error in download '404 not found' in HTTP / com / bin / windows / contrib / 3.1 / zoo_1.7-11.zip 'install.packages. File (url, destfile, method, mode = "Wb", ...): URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/zoo_1.7-11.zip' can not open Warning in install.packages: Download Url 'http://cran.rstudio.com/bin/windows/contrib/3.1/RcppArmadillo_0.4.600.4.0.zip' of package 'Zoo' failed in install.packages: Can not open: Error in HTTP status '404 not found' download. File (url, destfile, method, mode = "wb", ...): URL can not open http: //cran.ststud Io.com/ Bin / windows / contrib / 3.1 / RcppArmadillo_0.4.600.4.0.zip 'warns in install.packages: download package' RCPARMDMLO ' Failed URL warning 'http://cran.rstudio.com/bin/windows/ Install.pdf :. Can not open: HTTP status '404 not found'. Download error (url, destfile, method, mode = "wb", ...): URL 'http://cran.rstudio.com/bin/windows/contrib/3.1/forecast_5.8.zip' can not open In install.packages warning: Package 'Forecasting' failed failed *
I tried to open the URL given in the error and could not open it. I installed the "zoo" package Also tried and found a similar error. However, I was able to install some other packages, so some packages are working.
Here is information about the use of RStudio:
$ platform [1] "x86_64-w64-mingw32" $ arch [1] "x86_64" $ Os [1] "Mingvaw 32" $ system [1] "x86_64, mingaw 32" $ position [1] "$ major [1]" 3 "$ modest [1]" 1.3 "$ year [1]" 2015 " $ Month [1] "03" $ day [1] "09" $ `svn rev` [1]" 67962 "$ language [1]" r "$ version. String [1] "R Version 3.1.3 (2015 -03-09)" $ Surname [1] "Smooth Sidewalk" *
Here is a post with the same question. Any help would be greatly appreciated. Thank you in advance!
Sophie
The easiest solution to your problem will be Forecasting
You can choose a mirror by manually selecting it to try to select and install a different cronzer mirror to install and package:
package - & gt; Set the CRAN mirror ...
I just run install.packages ("forecast")
using the Singapore mirror (as I live there), And I did not have the problem
If you have to continue using your current mirror, you have to find out which dependencies can not be downloaded and you have to get them from somewhere manually.
No comments:
Post a Comment