有几个包(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