직장에서 저는 보통 패키지 업데이트 등을 위해 cran에 액세스하기 위해 setInternet2(use=TRUE)
옵션을 설정해야합니다. 그러나이 패키지를 버전 8로 업그레이드 한 후에는 더 이상 작동하지 않는 것으로 보입니다. 이것은 setInternet2 옵션을 호출 한 상태와 삽입하지 않은 상태 모두에서 e1071을 설치하려고 시도한 결과입니다.setInternet2는 창을 연결할 수 없습니다
이 문제를 해결할 수있는 아이디어가 있으십니까?
> install.packages("e1071")
Installing package(s) into ‘P:/R prg/R-2.13.1/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
unable to connect to 'cran.ma.imperial.ac.uk' on port 80.
Warning in install.packages :
unable to connect to 'cran.ma.imperial.ac.uk' on port 80.
Warning in install.packages :
unable to access index for repository http://cran.ma.imperial.ac.uk/bin/windows/contrib/2.13
Warning in install.packages :
unable to connect to 'www.stats.ox.ac.uk' on port 80.
Warning in install.packages :
unable to connect to 'www.stats.ox.ac.uk' on port 80.
Warning in install.packages :
unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.13
Warning in install.packages :
package ‘e1071’ is not available (for R version 2.13.1)
> setInternet2(use=TRUE)
> install.packages("e1071")
Installing package(s) into ‘P:/R prg/R-2.13.1/library’
(as ‘lib’ is unspecified)
Warning in install.packages :
InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages :
InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages :
unable to access index for repository http://cran.ma.imperial.ac.uk/bin/windows/contrib/2.13
Warning in install.packages :
InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages :
InternetOpenUrl failed: 'A connection with the server could not be established'
Warning in install.packages :
unable to access index for repository http://www.stats.ox.ac.uk/pub/RWin/bin/windows/contrib/2.13
Warning in install.packages :
package ‘e1071’ is not available (for R version 2.13.1)
언제든지 수동으로 다운로드/설치할 수 있습니다. CRAN에 대한 액세스 권한이 있습니까? –
나는 usb에 크레인 패키지를 미러링하는 것을 끝내었고 나는 내일 일하도록 그들을 데려 올 것이다. 브라우저는 직장에서도 아주 완벽하게 작동합니다. – Misha
@Misha R에서 웹에 액세스하기 전에'setInternet2 (TRUE)'가 실행되고 있습니까? 나는'R-2.13.0 \ etc \ Rprofile.site'의 첫 줄에'utils :: setInternet2 (TRUE)'를 유지합니다. 그리고 그것은 IE8과 함께 나를 위해 작동합니다. 두 번째 : IE에서 저장소 디렉토리를 열 때 문제가 있습니까? – Marek