其他分享
首页 > 其他分享> > install.packages(“hgu133a.db“)报错——解决办法

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/
在这里插入图片描述

解决办法

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

BiocManager::install("hgu133a.db")

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

标签:Rtools,hgu133a,db,version,报错,install,packages
来源: https://blog.csdn.net/narutodzx/article/details/119378949