首页
学习
活动
专区
圈层
工具
发布
首页
学习
活动
专区
圈层
工具
MCP广场
社区首页 >问答首页 >无法在Windows4.2.1R中安装monocle3

无法在Windows4.2.1R中安装monocle3
EN

Stack Overflow用户
提问于 2022-10-20 19:40:26
回答 1查看 153关注 0票数 0

尝试下载monocle3:https://cole-trapnell-lab.github.io/monocle3/docs/installation/

接收错误:

代码语言:javascript
运行
复制
Installing package into ‘C:/Users/drnan/AppData/Local/R/win-library/4.2’
(as ‘lib’ is unspecified)
ERROR: dependency 'Matrix.utils' is not available for package 'monocle3'
* removing 'C:/Users/drnan/AppData/Local/R/win-library/4.2/monocle3'
  installation of package ‘C:/Users/drnan/AppData/Lo

cal/Temp/RtmpEl0M3e/file17d832b82f61/monocle3_1.2.9.tar.gz’有非零退出状态。

我还收到了一个行错误: BiocManager::install(version = "3.14")

代码语言:javascript
运行
复制
Error: Bioconductor version '3.14' requires R version '4.1'; use `BiocManager::install(version = '3.15')` with R version 4.2; see https://bioconductor.org/install

With version 3.15, however Matrix.utils wouldn't install:
BiocManager::install(c('BiocGenerics', 'DelayedArray', 'DelayedMatrixStats',
                       'limma', 'lme4', 'S4Vectors', 'SingleCellExperiment',
                       'SummarizedExperiment', 'batchelor', 'Matrix.utils',
                       'HDF5Array', 'terra', 'ggrastr'))

Warning messages:
1: package(s) not installed when version(s) same as current; use `force = TRUE` to re-install: 'BiocGenerics' 'DelayedArray' 'DelayedMatrixStats' 'limma' 'lme4'
  'S4Vectors' 'SingleCellExperiment' 'SummarizedExperiment' 'batchelor' 'HDF5Array' 'terra' 'ggrastr' 
2: packages ‘TRUE’, ‘Matrix.utils’ are not available for Bioconductor version '3.15'

所以我的问题是,与R4.2.1兼容的BIoconductor,Monocle3的正确版本是什么?我甚至不需要生物技术,只需要Monocle3。完全封锁了!救命!

EN

回答 1

Stack Overflow用户

回答已采纳

发布于 2022-10-26 03:05:45

我刚在本地电脑上解决了这个问题。因此,安装失败的全部原因是因为Matrix.utils不可用(在cran https://cran.r-project.org/web/packages/Matrix.utils/index.html中甚至有通知说它被删除了,因为“尽管有提醒但问题没有得到纠正”)。

mac os x的解决方案:

https://cran.r-project.org/src/contrib/Archive/Matrix.utils/)

  • install

install.packages("locationfolder/Matrix.utils_0.9.8.tgz", repos = NULL, type="source")

  • rerun devtools::install_github('cole-trapnell-lab/monocle3')

  • test中找到的)

希望这能有所帮助!

票数 0
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/74145500

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档