我尝试在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来规范我的cont数据。我也开放使用不同于r 的东西
最后,我解决了这个问题,从我的电脑上卸载并重新安装了所有的R库,保持了相同的操作系统和R版本。我继续忽视问题的真实身份。
我简单地通过删除";GenomicRanges";以及";IRange";包装和安装";GenomicRanges";再一次为了移除这些包,我使用CCD_ 2来找到库路径;以及";IRange";文件夹。