2017-05-25 25 views
0

当我尝试加载预测其打包trows我没有RCPP包,它试图通过手动我碰到下面的错误安装RCPP包取决于无法安装RCPP包时装载预测

错误

install.packages( “RCPP”)

Installing package into ‘C:/Users/~~~’ 
(as ‘lib’ is unspecified) 

    There is a binary version available but the source version is later: 
     binary source needs_compilation 
Rcpp 0.12.10 0.12.11    TRUE 

    Binaries will be installed 
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/Rcpp_0.12.10.zip' 
Warning in install.packages : 
    cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/Rcpp_0.12.10.zip': HTTP status was '404 Not Found' 
Error in download.file(url, destfile, method, mode = "wb", ...) : 
    cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/3.4/Rcpp_0.12.10.zip' 
Warning in install.packages : 
    download of package ‘Rcpp’ failed 

回答