install.packages(“hgu133a.db“)报错——解决办法

问题描述

install.packages("hgu133a.db")
WARNING: Rtools is required to build R packages but is not currently installed. Please download and install the appropriate version of Rtools before proceeding:

https://cran.rstudio.com/bin/windows/Rtools/
Warning in install.packages :
  package ‘hgu133a.db’ is not available for this version of R

A version of this package for your version of R might be available elsewhere,
see the ideas at
https://cran.r-project.org/doc/manuals/r-patched/R-admin.html#Installing-packages

原因

hgu133a.db版本与R版本不一致

版本对应关系:http://www.bioconductor.org/about/release-announcements/
install.packages(“hgu133a.db“)报错——解决办法

解决办法

if (!requireNamespace("BiocManager", quietly = TRUE))
    install.packages("BiocManager")

BiocManager::install("hgu133a.db")

参考:http://www.bioconductor.org/packages/release/data/annotation/html/hgu133a.db.html

上一篇:linux下安装pip


下一篇:【Python】pip更新时未能正常安装