R包安装与更新失败求助:boot、Matrix包无法更新
问题:无法更新boot、Matrix包及安装目标R包
操作步骤
- 安装并加载BiocManager包:
install.packages('BiocManager') library(BiocManager)
- 尝试安装多个生物信息学相关包:
BiocManager::install('WGCNA') BiocManager::install('flashClust') BiocManager::install("GO.db") BiocManager::install("impute") BiocManager::install("preprocessCore")
错误现象
执行上述安装代码时,触发权限错误:安装路径C:/Program Files (x86)/R/R-4.5.1/library无写入权限,无法更新boot、Matrix包。单独尝试更新这两个包也无法完成。
预期目标
希望安装代码正常运行,成功加载并使用WGCNA、flashClust、curl等包。
环境信息
- 系统:Windows 11 x64(build 26100)
- R版本:4.5.1(最新版)
sessioninfo()输出:
Platform: x86_64-w64-mingw32/x64 Running under: Windows 11 x64 (build 26100) Matrix products: default LAPACK version 3.12.1 locale: [1] LC_COLLATE=English_United States.utf8 LC_CTYPE=English_United States.utf8 [3] LC_MONETARY=English_United States.utf8 LC_NUMERIC=C [5] LC_TIME=English_United States.utf8 time zone: America/New_York tzcode source: internal attached base packages: [1] stats graphics grDevices utils datasets methods base loaded via a namespace (and not attached): [1] BiocManager_1.30.26 compiler_4.5.1 cli_3.6.5 tools_4.5.1 rstudioapi_0.17.1
疑问
为何boot、Matrix包无法更新?
内容的提问来源于stack exchange,提问作者Skyler Pearse
相关产品推荐
相关产品推荐

