错误: package or namespace load failed for ‘org.Mm.eg.db’: loadNamespace()里算'org.Mm.eg.db'时.onLoad...

在做下游分析的过程中,遇到了这个错误
错误: package or namespace load failed for ‘org.Mm.eg.db’:
loadNamespace()里算'org.Mm.eg.db'时.onLoad失败了,详细内容:
调用: lcontains 错误: operator is invalid for atomic vectors

加载包的过程中

https://support.bioconductor.org/p/9136239/#9136319

上面解释了错误的原因是这个:This appears to be a bug in the communication between the latest release of the RSQLite package and RStudio.

也给了解决方法:

options(connectionObserver = NULL)
library(org.Mm.eg.db)#真的没有出现报错了
另外一种解决方法可供参考,我没试

You can also install the previous release of RSQLite using remotes, e.g. with:

remotes::install_version("RSQLite", version = "2.2.5")

问题是解决了

©著作权归作者所有,转载或内容合作请联系作者
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

推荐阅读更多精彩内容