gpt4 book ai didi

r - 无法在 R : cannot install package 中卸载包

转载 作者:行者123 更新时间:2023-12-04 11:04:56 25 4
gpt4 key购买 nike

我正在尝试在 R 中安装一个包,但无法解决以下错误。

到底是怎么回事? :(

我正在运行 Fedora 20, R 3.2

 biocLite("monocle")
BioC_mirror: http://bioconductor.org
Using Bioconductor version 3.0 (BiocInstaller 1.16.5), R version 3.2.0.
Installing package(s) 'monocle'
trying URL 'http://bioconductor.org/packages/3.0/bioc/src/contrib/monocle_1.0.0.tar.gz'
Content type 'application/x-gzip' length 332309 bytes (324 KB)

downloaded 324 KB

installing *source* package ‘monocle’ ...
R
inst
preparing package for lazy loading
Error in unloadNamespace(package) :

namespace ‘plyr’ is imported by ‘reshape2’, ‘ggplot2’, ‘scales’ so cannot be unloaded
Error in library(pkg, character.only = TRUE, logical.return = TRUE, lib.loc = lib.loc) :

Package ‘plyr’ version 1.8.1 cannot be unloaded
ERROR: lazy loading failed for package ‘monocle’
removing ‘/home/user/R/x86_64-redhat-linux-gnu-library/3.2/monocle’

最佳答案

我通过重新启动 R 解决了这个问题。

关于r - 无法在 R : cannot install package 中卸载包,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/32771517/

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