gpt4 book ai didi

Rsamtools加载包时出错

转载 作者:行者123 更新时间:2023-12-02 02:40:19 25 4
gpt4 key购买 nike

当我想在 R 中加载 Rsamtools 包时,我看到如下错误:

  Error in get(method, envir = home) : 
lazy-load database'/Library/Frameworks/R.framework/Versions/3.2/Resources/library/Rsamtools/ R/Rsamtools.rdb' is corrupt
In addition: Warning messages:
1: In .registerS3method(fin[i, 1], fin[i, 2], fin[i, 3], fin[i, 4], :
restarting interrupted promise evaluation
2: In get(method, envir = home) :
restarting interrupted promise evaluation
3: In get(method, envir = home) : internal error -3 in R_decompress1
Error: package or namespace load failed for ‘Rsamtools’

sessionInfo 的输出是:

  R version 3.2.0 (2015-04-16)
Platform: x86_64-apple-darwin13.4.0 (64-bit)
Running under: OS X 10.9 (Mavericks)

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] stats4 parallel stats graphics grDevices utils datasets methods
[9] base

other attached packages:
[1] UniProt.ws_2.8.0 RCurl_1.95-4.6 bitops_1.0-6 RSQLite_1.0.0
[5] DBI_0.3.1 BiocInstaller_1.18.2 Biostrings_2.36.1 XVector_0.8.0
[9] AnnotationDbi_1.30.1 Biobase_2.28.0 GenomicRanges_1.20.4 GenomeInfoDb_1.4.0
[13] IRanges_2.2.3 S4Vectors_0.6.0 BiocGenerics_0.14.0

loaded via a namespace (and not attached):
[1] zlibbioc_1.14.0 tools_3.2.0 biomaRt_2.24.0 XML_3.98-1.2

不仅我不能使用 Rsamtools,而且当我想使用我的旧软件包时,我可以在出现一些错误之前使用它们,如下所示,例如使用“TxDb.Hsapiens.UCSC.hg19.knownGene”软件包:

  Loading required package: GenomicFeatures
Error in get(method, envir = home) :
lazy-load database '/Library/Frameworks/R.framework/Versions/3.2/Resources/library/Rsamtools/R/Rsamto ols.rdb' is corrupt
In addition: Warning messages:
1: In .registerS3method(fin[i, 1], fin[i, 2], fin[i, 3], fin[i, 4], :
restarting interrupted promise evaluation
2: In get(method, envir = home) :
restarting interrupted promise evaluation
3: In get(method, envir = home) : internal error -3 in R_decompress1 Error: package ‘GenomicFeatures’ could not be loaded

我该怎么办?

最佳答案

令人惊讶的是!重新启动 session 解决了问题:|

关于Rsamtools加载包时出错,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/30635165/

25 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com