##问题描述
用BioManager包安装org.eg.Mm.db包失败,提示xfun包为架构安装,但xfun包其实已安装。
##我的代码、数据和运行结果
.libPaths()
[1] "D:/APP/R-4.2.1/library"
library(BiocManager)
BiocManager::install("org.eg.Mm.db")
Error in library.dynam(lib, package, package.lib) : 没有这个DLL ‘xfun’:是不是没有为此架构安装?
library(xfun)
Warning: 程辑包‘xfun’是用R版本4.2.2 来建造的
Error: package or namespace load failed for ‘xfun’ in library.dynam(lib, package, package.lib):
没有这个DLL ‘xfun’:是不是没有为此架构安装?
##我的初步解决方法
在Rstudio界面点击Tools>Check for Package Upates>Select All>Install Updates
反馈:
无法将拆除原来安装的程序包‘digest’
Warning in install.packages :
problem copying D:\APP\R-4.2.1\library\00LOCK\digest\demo\vectorised.R to D:\APP\R-4.2.1\library\digest\demo\vectorised.R: Permission denied
下载的二进制程序包在
C:\Users\86157\AppData\Local\Temp\RtmpEzy9GL\downloaded_packages里
##我的系统环境
SessionInfo()
*R version 4.2.1 (2022-06-23 ucrt)
Platform: x86_64-w64-mingw32/x64 (64-bit)
Running under: Windows 10 x64 (build 19044)
Matrix products: default
locale:
[1] LC_COLLATE=Chinese (Simplified)China.utf8
[2] LC_CTYPE=Chinese (Simplified)China.utf8
[3] LC_MONETARY=Chinese (Simplified)China.utf8
[4] LC_NUMERIC=C
[5] LC_TIME=Chinese (Simplified)China.utf8
attached base packages:
[1] stats graphics grDevices utils datasets methods
[7] base
loaded via a namespace (and not attached):
[1] evaluate_0.19 data.table_1.14.6 tools_4.2.1
[4] compiler_4.2.1 BiocManager_1.30.19*