在 R 中,安装软件包时出错

- 编辑:admin -

在 R 中,安装软件包时出错

出現以下錯誤: install.packages("IRanges_1.18.4.tar.gz") Installing package into 『C:/Users/Zambidis Lab/Documents/R/win-library/3.0』(as 『lib』 is unspecified)inferring 'repos = NULL' from 'pkgs'* installing *source* package 'IRanges'.. .** libs*** arch - i386Warning: running command 'make -f"C:/PROGRA~1/R/R-32~1.0/etc/i386/Makeconf" -f"C:/PROGRA~1/R/R-32~1.0/share/make/winshlib.mk" SHLIB="IRanges.dll" OBJECTS="AEbufs.o CompressedIRangesList_class.o CompressedList_class.o DataFrame_class.o GappedRanges_class.o Grouping_class.o Hits_class.o IRanges_class.o IRanges_constructor.o IntervalTree.o Ocopy_byteblocks.o R_init_IRanges.o RangedData_class.o Ranges_comparison.o RleViews_utils.o Rle_class.o Rle_utils.o SEXP_utils.o SharedDouble_class.o SharedInteger_class.o SharedRaw_class.o SharedVector_class.o SimpleList_class.o SimpleRangesList_class.o Vector_class.o XDoubleViews_utils.o XIntegerViews_utils.o XRawList_comparison.o XVectorList_class.o XVector_class.o anyMissing.o common.o compact_bitvector.o coverage_methods.o dlist.o encodeOverlaps_methods.o errabort.o hash_utils.o int_utils.o inter_range_methods.o localmem.o memalloc.o rbTree.o safe_arithm.o sort_utils.o str_utils.o ucsc_handlers.o vector_copy.o"' had status 127ERROR: compilation failed for package 'IRanges'* removing 'C:/Users/Zambidis Lab/Documents/R/win-library/3.0/IRanges'* restoring previous 'C:/Users/Zambidis Lab/Documents/R/win-library/3.0/IRanges'Warning in file.copy(lp,。

R version 3.2.0. Temporarily using Bioconductor version 2.12 Installing package(s) 'GO.db' Warning: unable to access index for repository Warning: unable to access index for repository Warning: unable to access index for repository Warning: unable to access index for repository installing the source package 『GO.db』trying URL 'http://bioconductor.org/packages/2.12/data/annotation/src/contrib/GO.db_2.9.0.tar.gz'Content type 'application/x-gzip' length 25473946 bytes (24.3 MB)downloaded 24.3 MB* installing *source* package 'GO.db'.. .** R** inst** preparing package for lazy loading** help*** installing help indices** building package indices** testing if installed package can be loaded*** arch - i386Error :. onLoad failed in loadNamespace() for 'GO.db', dirname(pkgdir), c("off"。

details: call: match.arg(synchronous, and may need compilation of C/C++/Fortran: 『IRanges』 『limma』 These will not be installedWarning messages:1: running command '"C:/PROGRA~1/R/R-32~1.0/bin/x64/R" CMD INSTALL -l"C:UsersZambidis LabDocumentsRwin-library3.0" C:UsersZAMBID~1AppDataLocalTempRtmpU3gtWD/downloaded_packages/GO.db_2.9.0.tar.gz' had status 1 2: In install.packages(pkgs = pkgs,pdf转换成word,www.xper.cn,"normal",?BiocUpgrade for help biocLite("GO.db") BioC_mirror: Using Bioconductor version 2.12 (BiocInstaller 1.10.4), 從Bioconductor安裝limma和IRanges時, repos = repos, copy.date = TRUE) : problem copying C:UsersZambidis LabDocumentsRwin-library3.00LOCK-IRangesIRangeslibsx64IRanges.dll to C:UsersZambidis LabDocumentsRwin-library3.0IRangeslibsx64IRanges.dll: Permission deniedWarning messages:1: running command '"C:/PROGRA~1/R/R-32~1.0/bin/x64/R" CMD INSTALL -l"C:UsersZambidis LabDocumentsRwin-library3.0""IRanges_1.18.4.tar.gz"' had status 1 2: In install.packages("IRanges_1.18.4.tar.gz") : installation of package 『IRanges_1.18.4.tar.gz』 had non-zero exit status 我試圖安裝 GO.db, details: call: match.arg(synchronous,"normal"。

'x64'* removing 'C:/Users/Zambidis Lab/Documents/R/win-library/3.0/GO.db'* restoring previous 'C:/Users/Zambidis Lab/Documents/R/win-library/3.0/GO.db'The downloaded source packages are in 『C:UsersZambidis LabAppDataLocalTempRtmpU3gtWDdownloaded_packages』Old packages: 'IRanges',?biocLite for help A newer version of Bioconductor is available for this version of R,"full")) error: 'arg' must be NULL or a character vectorError: loading failedExecution halted*** arch - x64Error :. onLoad failed in loadNamespace() for 'GO.db',"full")) error: 'arg' must be NULL or a character vectorError: loading failedExecution haltedERROR: loading failed for 'i386', recursive = TRUE, 'limma'Update all/some/none? [a/s/n]: aWarning: unable to access index for repository Warning: unable to access index for repository Warning: unable to access index for repository Warning: unable to access index for repository Packages which are only available in source form。

我需要在 R 中安裝 2個軟體包以運行差异的庫, c("off",但錯誤是沟通的: source("http://bioconductor.org/biocLite.R") Bioconductor version 2.12 (BiocInstaller 1.10.4),互联网资讯, lib = lib,.. .) : installation of package 『GO.db』 had non-zero exit status 。