0

我试图在 R 上加载 DESeq2: library(DESeq2)

显示的错误是:

Loading required package: GenomicRanges
Error: package or namespace load failed for ‘GenomicRanges’ in loadNamespace(i, c(lib.loc, .libPaths()), versionCheck = vI[[i]]):
 object 'vI' not found
Error: package ‘GenomicRanges’ could not be loaded


> sessionInfo()
R version 3.6.3 (2020-02-29)
Platform: x86_64-apple-darwin15.6.0 (64-bit)
Running under: macOS Sierra 10.12.6

Matrix products: default
BLAS:   /System/Library/Frameworks/Accelerate.framework/Versions/A/Frameworks/vecLib.framework/Versions/A/libBLAS.dylib
LAPACK: /Library/Frameworks/R.framework/Versions/3.6/Resources/lib/libRlapack.dylib

locale:
[1] en_US.UTF-8/en_US.UTF-8/en_US.UTF-8/C/en_US.UTF-8/en_US.UTF-8

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

other attached packages:
[1] GenomeInfoDb_1.22.1 IRanges_2.21.8      S4Vectors_0.25.15  
[4] BiocGenerics_0.32.0

loaded via a namespace (and not attached):
 [1] rstudioapi_0.11        zlibbioc_1.32.0        R6_2.4.1              
 [4] fansi_0.4.1            tools_3.6.3            pkgbuild_1.0.6        
 [7] cli_2.0.2              withr_2.1.2            remotes_2.1.1         
[10] assertthat_0.2.1       rprojroot_1.3-2        crayon_1.3.4          
[13] processx_3.4.2         GenomeInfoDbData_1.2.2 BiocManager_1.30.10   
[16] callr_3.4.3            bitops_1.0-6           ps_1.3.2              
[19] RCurl_1.98-1.1         curl_4.3               glue_1.4.0            
[22] compiler_3.6.3         backports_1.1.6        prettyunits_1.1.1

我封锁了2天。所有问题都始于“S4Vectors”包。我解决了。我更新了 R。根据 GenomicRanges 的要求,我下载并手动将“XVector”版本“0.27.2”放入库 r 文件夹中。我需要使用 DESeq2 来规范化我的连续数据。我也愿意使用与 r 不同的东西

4

1 回答 1

0

最后,我解决了问题,从我的 PC 卸载并重新安装了所有 R 库,保持相同的操作系统和 R 版本。我继续忽略问题的真实身份。

于 2020-04-16T08:17:16.603 回答