2017-02-05 4 views
0

RStudio에 누락 된 데이터를 입력하기 위해 VIM 패키지를 설치하고 싶지만 관련된 e1071 패키지에 오류가 있습니다.패키지 e1071을 다운로드하지 못했습니다.

VIM 패키지는 O.K를 설치합니다. 하지만 관련 e1071은 다음과 같은 이유로 실패

내가이 패키지를 설치하려면 어떻게해야합니까 무엇
> install.packages("e1071", dependencies = T) 
Installing package into ‘C:/Users/John/Documents/R/win-library/3.3’ 
(as ‘lib’ is unspecified) 

    There is a binary version available but the source version is later: 
     binary source needs_compilation 
e1071 1.6-7 1.6-8    TRUE 

    Binaries will be installed 
trying URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/e1071_1.6-7.zip' 
Warning in install.packages : 
    cannot open URL 'https://cran.rstudio.com/bin/windows/contrib/3.3/e1071_1.6-7.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.3/e1071_1.6-7.zip' 
Warning in install.packages : 
    download of package ‘e1071’ failed 

?

+1

'e1071'이 최근에 업데이트 된 것 같습니다. 따라서 R을 다시 시작하고 다시 시도해야 할 수도 있습니다. –

+0

@Kevin Ushey, 답변 주셔서 감사합니다. 이 질문을 답으로 게시하려면 동의 할 것입니다. 많은 감사합니다. – TheGoat

답변

1

e1071 패키지의 CRAN 업데이트 사이에 갇혀있는 것처럼 보입니다. 귀하의 R 세션이 현재 어떤 버전의 e1071을 요청했는지, 버전 1.6-7이보고되고 캐시되었습니다. 그러나 버전 1.6-8이 CRAN에 업로드 된 직후입니다. 이 때문에 R 세션은 1.6-7을 다운로드하려고 시도했지만 1.6-8 만 사용할 수있었습니다.

R을 다시 시작하면 로컬 패키지 목록 캐시가 지워지고 진행됩니다.