2016-10-05 16 views
1

rAnovaez 라이브러리를 호출하는 중 오류가 발생했습니다. install.packages("ez")과 함께 실행되는 동안 pbkrtest 패키지를 찾을 수 없습니다. library(ez) 다음 오류로 돌아 가기 :'ez'라이브러리를 사용하는 동안 오류가 발생했습니다.

Error in loadNamespace (j <- i [[1L]], c (lib.loc, .libPaths()) = vI VERSIONCHECK [[j]]): no package named 'pbkrtest' is found 
    In addition: Warning message: package 'ez' was compiled with version 3.2.5 R   Error: loading the package or namespace failed for 'ez' 

어떻게이 라이브러리를 올바르게 사용할 수 있습니까? 감사합니다

편집 : Sessioninfo()

R version 3.2.2 (2015-08-14) 
Platform: x86_64-w64-mingw32/x64 (64-bit) 
Running under: Windows 8 x64 (build 9200) 

locale: 
[1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252 
[3] LC_MONETARY=French_France.1252 LC_NUMERIC=C     
[5] LC_TIME=French_France.1252  

attached base packages: 
[1] stats  graphics grDevices utils  datasets methods base  

other attached packages: 
[1] devtools_1.12.0 

loaded via a namespace (and not attached): 
Error in x[["Version"]] : index out of limits 
De plus : Warning messages: 
1: In FUN(X[[i]], ...) : 
    The file DESCRIPTION of the package 'digest' is missing or incorrect 
2: In FUN(X[[i]], ...) : 
    The file DESCRIPTION of the package 'nlme' is missing or incorrect 

편집 2 : Sessioninfo() 기계와 R

R version 3.2.2 (2015-08-14) 
Platform: x86_64-w64-mingw32/x64 (64-bit) 
Running under: Windows 8 x64 (build 9200) 

locale: 
[1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252 
[3] LC_MONETARY=French_France.1252 LC_NUMERIC=C     
[5] LC_TIME=French_France.1252  

attached base packages: 
[1] stats  graphics grDevices utils  datasets methods base  

loaded via a namespace (and not attached): 
[1] MASS_7.3-45  Matrix_1.2-7.1 tools_3.2.2  mgcv_1.8-15  
[5] nnet_7.3-12  nlme_3.1-121 grid_3.2.2  lattice_0.20-34 

하지만 여전히 같은 오류를 다시 시작한 후 (위) 때 테이프 라이브러리 (EZ).

+0

'install.packages ("pbkrtest")'시도해 봤어? – ytk

+0

예 : 경고 메시지 : 'pbkrtest'패키지를 사용할 수 없음 (R 버전 3.2.2) 패키지가 버전에 연결되어 있습니까? – ranell

+0

이 오류를 재현 할 수 없습니다. 그냥 간단한'install.packages ("ez"); 라이브러리 (ez)'가 잘 작동했다. 우분투 14.04.5에서 R 3.3.1을 실행 중입니다. 'sessionInfo()'를 게시하는 것이 도움이 될 것입니다. – ytk

답변

1

그래서 R 버전의 질문이었습니다. 오류로 나타 났고 내가 이해 한대로 'ez'는 3.2.5 R로 컴파일되었습니다. 이제 3.3.1 이하입니다. EZ를 성공으로 지정하여 라이브러리를로드하고 함수를 사용할 수 있습니다. 더 복잡한 R과 고통스러운 패키지를 다시 설치하는 것이지만 great post 덕분에 모든 패키지를 임시 폴더에 저장하고 최신 패키지로 다시 설치할 수 있습니다.

누군가가 도움이 될 수 있다면 정보를 얻으십시오. 그렇지 않으면, 내 Sessioninfo() 반환합니다 :

R version 3.3.1 (2016-06-21) 
Platform: x86_64-w64-mingw32/x64 (64-bit) 
Running under: Windows 8.1 x64 (build 9600) 

locale: 
[1] LC_COLLATE=French_France.1252 LC_CTYPE=French_France.1252 LC_MONETARY=French_France.1252 
[4] LC_NUMERIC=C     LC_TIME=French_France.1252  

attached base packages: 
[1] stats  graphics grDevices utils  datasets methods base  

other attached packages: 
[1] ez_4.3 

loaded via a namespace (and not attached): 
[1] Rcpp_0.12.7  magrittr_1.5  splines_3.3.1  MASS_7.3-45  munsell_0.4.3  
[6] colorspace_1.2-6 lattice_0.20-33 minqa_1.2.4  stringr_1.1.0  car_2.1-3   
[11] plyr_1.8.4   tools_3.3.1  nnet_7.3-12  parallel_3.3.1  pbkrtest_0.4-6  
[16] grid_3.3.1   nlme_3.1-128  gtable_0.2.0  mgcv_1.8-12  quantreg_5.29  
[21] MatrixModels_0.4-1 lme4_1.1-12  Matrix_1.2-6  nloptr_1.0.4  reshape2_1.4.1  
[26] ggplot2_2.1.0  stringi_1.1.2  scales_0.4.0  SparseM_1.72  
> 
관련 문제