无法通过biocmanager :: install()安装包
0.
5.
输入编辑模式
m▴50
@ 91208A6C.
最后见过26天前
美国

最近我将我的r从3.6.3更新到4.0.5。我可以在使用r 3.6.3时通过biocmanager :: install()安装包。但是,我无法通过Biocmanager :: Install()安装包,而我使用的r 4.0.5。我可以通过r 4.0.5中的install.packages(“ggplot2”)安装Packages等包装。我不知道为什么biocmanager :: install()在我的电脑中没有工作,因为r 4.0.5。请参阅下面的错误消息。谢谢!

>如果(!quancamespace(“biocmanager”,squally = true))+ install.packages(“biocmanager”)>> biocmanager ::安装(“sva”)'getoption(“repos”)'替换生物导体标准存储库,请参阅“?存储库的详细信息替换存储库:cran:https://cran.rstudio.com/生物导体3.12(Biocmanager 1.30.13),R 4.0.5(2021-03-31)安装包'Biocversion','sva' also installing the dependency ‘genefilter’ Error in readRDS(dest) : error reading from connection
Biocmanager.•1.2K观
添加评论
1
输入编辑模式

我有同样的问题,并尝试重新安装r多次(4.0.5和3.6.3),并一直持续到此问题。我在尝试安装bsgenome时具体有问题,但也发现我不能再安装讽刺了,即使我在几天前就可以安装该包没有任何错误。

添加回复
4.
输入编辑模式

Biocmanager 1.30.13中已识别出问题。请执行以下操作:

install.packages(“devtools”)#不必要,如果您已经devtools :: install_github(“biocumon / biocmanager”,Ref =“Ghost-Binary-repo”)

现在以惯常方式使用Biocmanager。让我们知道怎么回事。

0.
输入编辑模式

这解决了我的问题。非常感谢!

添加回复
0.
输入编辑模式

嗨,我仍然在运行上述建议后仍然存在同样的问题。有什么想法吗?我刚刚在Mac M1上升级到R 4.0.5

biocmanager ::安装(“phyloseq”)'getoption(“repos”)'替换生物导体标准存储库,请参阅“?存储库”以获取详细信息

替换存储库:CRAN:https://cran.rstudio.com/

Bioconductor version 3.12 (BiocManager 1.30.13), R 4.0.5 (2021-03-31) Installing package(s) 'phyloseq' also installing the dependencies ‘hms’, ‘Rhdf5lib’, ‘rhdf5filters’, ‘zlibbioc’, ‘pixmap’, ‘sp’, ‘progress’, ‘rhdf5’, ‘S4Vectors’, ‘IRanges’, ‘XVector’, ‘iterators’, ‘ade4’, ‘ape’, ‘Biobase’, ‘BiocGenerics’, ‘biomformat’, ‘Biostrings’, ‘data.table’, ‘foreach’, ‘igraph’, ‘multtest’, ‘plyr’, ‘reshape2’

readrds(dest)中的错误:从连接读取时出错

0.
输入编辑模式

嗨rachel - 你必须重新启动r.你需要看到Biocmanager 1.30.13.1 - 在上面的我只看到1.30.13,所以再试一次devtools :: install_github(“Biocumon / biocmanager”,Ref =“Ghost-Binary-Repo”)然后再次启动r并尝试使用帖子ossq安装

0.
输入编辑模式

它有助于!谢谢!

0.
输入编辑模式

非常感谢,它有效,我已经失去了思想。

0.
输入编辑模式

执行上面的代码:

devtools :: install_github(“Biocumon / biocmanager”,Ref =“Ghost-Binary-Repo”)

我收到以下错误:警告:需要RTOOLS来构建R包,但当前未安装RTOOLS。

请从中下载并安装RTOOLS 4.0https://cran.r-project.org/bin/windows/rtools/。下载github repo biocumon / biocmanager @ ghost-binary-repo错误在utils :: download.file(网址,路径,方法=方法,安静=安静,:无法打开URL'https://api.github.com/repos/bioconductor/biocmanager/tarball/ghost-binary-repo.'另外:警告消息:不是AdvancoBject():对于此类“Granges”的对象,没有名称“ElementType”的插槽

我如何解决它?请帮忙。

添加回复
0.
输入编辑模式

我以管理员身份重新启动R. i RAN R.我选择另一镜子。虽然错误仍然存​​在。我有另一台电脑。我还将R从3.6.3到4.0.5更新。R版本,镜像,r库的位置在两台计算机之间都是相同的。但是,另一台计算机没有此错误。

添加回复
0.
输入编辑模式

非常感谢张贴这个!一直在疯狂的下午试图安装包!

添加回复

登录在添加答案之前。

交通:493名用户在最后一小时访问过
使用权 rss.
API.
统计

使用本网站构成了我们的接受用户协议和隐私政策

由我们提供动力版本2.3.6.