由于之前R的版本太过陈旧,gsea不能用了,所以重新安装了R,然后就显示我没有小鼠的注释库,于是安装注释包,出现报错。
显示Rtools要更新到最新版本。
install.packages(“org.Mm.eg.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 ‘org.Mm.eg.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
解决办法:安装RTools4.3
#这是下载网址,选择4.3版本就好
https://cran.r-project.org/bin/windows/Rtools/