bioconductor一直安装不对

有几个包(Ime4,MASS,survival)一直提示我要更新,我按了a,之后安装也都通过了,但是我执行source("https://bioconductor.org/biocLite.R")的时候还是报错,提示我bioconductor版本落后了

> if (!requireNamespace("BiocManager", quietly = TRUE))
+   install.packages("BiocManager")
> BiocManager::install("lme4")
'getOption("repos")' replaces Bioconductor standard repositories, see 'help("repositories", package = "BiocManager")' for details.
Replacement repositories:
    CRAN: https://cran.rstudio.com/
    BioCsoft: https://bioconductor.org/packages/3.16/bioc
Bioconductor version 3.16 (BiocManager 1.30.20), R 4.2.2 (2022-10-31 ucrt)
Installing package(s) 'lme4'

  有二进制版本的,但源代码版本是后来的:
     binary source needs_compilation
lme4 1.1-31 1.1-32              TRUE

  Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/lme4_1.1-31.zip'
Content type 'application/zip' length 4525485 bytes (4.3 MB)
downloaded 4.3 MB

程序包‘lme4’打开成功,MD5和检查也通过

下载的二进制程序包在
	C:\Users\陈立新\AppData\Local\Temp\RtmpGgnxVM\downloaded_packages里
Old packages: 'lme4', 'MASS', 'survival'
Update all/some/none? [a/s/n]: 
a

  有二进制版本的,但源代码版本是后来的:
     binary source needs_compilation
lme4 1.1-31 1.1-32              TRUE

  Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/lme4_1.1-31.zip'
Content type 'application/zip' length 4525485 bytes (4.3 MB)
downloaded 4.3 MB

程序包‘lme4’打开成功,MD5和检查也通过

下载的二进制程序包在
	C:\Users\陈立新\AppData\Local\Temp\RtmpGgnxVM\downloaded_packages里

  有二进制版本的,但源代码版本是后来的:
           binary   source needs_compilation
MASS     7.3-58.2 7.3-58.3              TRUE
survival    3.5-3    3.5-5              TRUE

  Binaries will be installed
trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/MASS_7.3-58.2.zip'
Content type 'application/zip' length 1172435 bytes (1.1 MB)
downloaded 1.1 MB

trying URL 'https://cran.rstudio.com/bin/windows/contrib/4.2/survival_3.5-3.zip'
Content type 'application/zip' length 6546738 bytes (6.2 MB)
downloaded 6.2 MB

程序包‘MASS’打开成功,MD5和检查也通过
程序包‘survival’打开成功,MD5和检查也通过

下载的二进制程序包在
	C:\Users\陈立新\AppData\Local\Temp\RtmpGgnxVM\downloaded_packages里

报错:
> source("https://bioconductor.org/biocLite.R")
Error: With R version 3.5 or greater, install Bioconductor packages using BiocManager; see https://bioconductor.org/install
请先 登录 后评论

1 个回答

omicsgene - 生物信息
擅长:重测序,遗传进化,转录组,GWAS

R语言基础建议学习:https://zzw.xet.tech/s/2G8tHr

R包安装技巧:https://www.omicsclass.com/article/106


新版的R这个命令:

source("https://bioconductor.org/biocLite.R")


用下面的命代替了,因此上面的命令不用运行了

if (!requireNamespace("BiocManager", quietly = TRUE))
 install.packages("BiocManager")
BiocManager::install("lme4")
请先 登录 后评论
  • 1 关注
  • 0 收藏,1411 浏览
  • 大maybe 提出于 2023-03-15 18:08

相似问题