我是新手R用户,试图访问我的研究数据集。数据集位于此处:https://zenodo.org/record/17500#.V7b8pFsrJQL
当我尝试安装COMPASSDataPackage_1.0.0.tar.gz时,出现以下错误:
> install.packages("/Users/dmb74/Documents/R/Temp/RGLab-COMPASSDataPackage-bc24b5a/COMPASSDataPackage_1.0.0.tar.gz", repos = NULL)
* installing *source* package 'COMPASSDataPackage' ...
** R
** data
** preparing package for lazy loading
Error in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]) :
there is no package called 'COMPASS'
ERROR: lazy loading failed for package 'COMPASSDataPackage'
* removing 'C:/Program Files/R/R-3.2.2/library/COMPASSDataPackage'
Warning in install.packages :
running command '"C:/PROGRA~1/R/R-32~1.2/bin/i386/R" CMD INSTALL -l
"C:\Program Files\R\R-3.2.2\library" "/Users/dmb74/Documents/R/Temp/RGLab-
COMPASSDataPackage-bc24b5a/COMPASSDataPackage_1.0.0.tar.gz"' had status 1
Warning in install.packages :
installation of package ‘/Users/dmb74/Documents/R/Temp/RGLab-
COMPASSDataPackage-bc24b5a/COMPASSDataPackage_1.0.0.tar.gz’ had non-zero exit status
以下是sesion信息:
R version 3.2.2 (2015-08-14)
Platform: i386-w64-mingw32/i386 (32-bit)
Running under: Windows 7 (build 7601) Service Pack 1
locale:
[1] LC_COLLATE=English_United States.1252 LC_CTYPE=English_United States.1252
[3] LC_MONETARY=English_United States.1252 LC_NUMERIC=C
[5] LC_TIME=English_United States.1252
attached base packages:
[1] stats graphics grDevices utils datasets methods base
loaded via a namespace (and not attached):
[1] tools_3.2.2
答案 0 :(得分:0)
NJBurgo指出我需要安装COMPASS包