简体   繁体   English

错误:生物字符串不适用于R 3.5.3

[英]Error: Biostrings not available for R 3.5.3

I tried many times to download a data set from Github by using 我尝试了很多次,使用以下方法从Github下载数据集:

> devtools::install_github("crarlus/paprbag")

I did this while running R 3.4.4. 我在运行R 3.4.4时执行了此操作。 The error consisted in the fact that > Biostrings was not available for this R version. 该错误包括以下事实:> Biostrings对于该R版本不可用。 Then following another post in stack overflow I installed the new version R 3.5.3. 然后在堆栈溢出的另一篇文章之后,我安装了新版本R 3.5.3。 But I still get the same error message: 但是我仍然收到相同的错误消息:

> devtools::install_github("crarlus/paprbag")
Downloading GitHub repo crarlus/paprbag@master
Skipping 1 packages not available: Biostrings
Installing 12 packages: ade4, Biostrings, data.table, doParallel, foreach, iterators, ranger, RcppEigen, segmented, seqinr, stringi, stringr
Installing packages into ‘/home/ibraim/R/x86_64-pc-linux-gnu-library/3.5’
(as ‘lib’ is unspecified)
Error: (converted from warning) package ‘Biostrings’ is not available (for R version 3.5.3)

Do you have any idea how to fix this problem ? 您知道如何解决此问题吗? Many thanks. 非常感谢。

The Biostrings package is not on CRAN but on Bioconductor . Biostrings软件包不在CRAN上,而在Bioconductor上 To install it you should use: 要安装它,您应该使用:

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")
BiocManager::install("Biostrings")

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM