Entering edit mode
1768142076
•
0
@1768142076-23354
Last seen 4.7 years ago
R version 3.6.1 (2019-07-05) -- "Action of the Toes"
Copyright (C) 2019 The R Foundation for Statistical Computing
Platform: x86_64-w64-mingw32/x64 (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.
R is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.
Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.
> options()$repos
CRAN
"https://mirrors.tuna.tsinghua.edu.cn/CRAN/"
attr(,"RStudio")
[1] TRUE
> options()$BioC_mirror
NULL
> options(BioC_mirror="https://mirrors.ustc.edu.cn/bioc/")
> options("repos" = c(CRAN="https://mirrors.tuna.tsinghua.edu.cn/CRAN/"))
> options()$repos
CRAN
"https://mirrors.tuna.tsinghua.edu.cn/CRAN/"
> options()$BioC_mirror
[1] "https://mirrors.ustc.edu.cn/bioc/"
> library("BiocManager", lib.loc="F:/R/R-3.6.1/library")
Error: package or namespace load failed for ‘BiocManager’:
attachNamespace()里算'BiocManager'时.onAttach失败了,详细内容:
调用: seq.default(grps[start] + 1, grps[start + 1] - 1)
错误: 'from'的长度必需为一
In addition: Warning messages:
1: 程辑包‘BiocManager’是用R版本3.6.3 来建造的
2: In file(con, "r") : InternetOpenUrl failed: '操作超时'
3: In readLines(...) :
incomplete final line found on 'http://bioconductor.org/config.yaml'
> BiocManager::install("org.Hs.eg.db",ask = F,update = F)
Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.1
(2019-07-05)
Installing package(s) 'BiocVersion', 'org.Hs.eg.db'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/bin/windows/contrib/3.6/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/bin/windows/contrib/3.6/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/bin/windows/contrib/3.6/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/bin/windows/contrib/3.6/PACKAGES'
Warning message:
packages ‘BiocVersion’, ‘org.Hs.eg.db’ are not available (for R version 3.6.1)
> install.packages("F:/org.Hs.eg.db_3.10.0.tar.gz", repos = NULL, type = "source", lib="F:/R/R-3.6.1/library")
ERROR: dependency 'AnnotationDbi' is not available for package 'org.Hs.eg.db'
* removing 'F:/R/R-3.6.1/library/org.Hs.eg.db'
Warning in install.packages :
installation of package ‘F:/org.Hs.eg.db_3.10.0.tar.gz’ had non-zero exit status
> install.packages("F:/AnnotationDbi_1.48.0.tar.gz", repos = NULL, type = "source", lib="F:/R/R-3.6.1/library")
ERROR: dependencies 'BiocGenerics', 'Biobase', 'IRanges', 'RSQLite', 'S4Vectors' are not available for package 'AnnotationDbi'
* removing 'F:/R/R-3.6.1/library/AnnotationDbi'
Warning in install.packages :
installation of package ‘F:/AnnotationDbi_1.48.0.tar.gz’ had non-zero exit status
> options(BioC_mirror=”[http://mirrors.ustc.edu.cn/bioc/](http://mirrors.ustc.edu.cn/bioc/)“) #如果需要切换镜像
Error: unexpected input in "options(BioC_mirror=?
> BiocManager::install('org.Hs.eg.db') #下载相应的包
Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.1
(2019-07-05)
Installing package(s) 'BiocVersion', 'org.Hs.eg.db'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/bin/windows/contrib/3.6/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/bin/windows/contrib/3.6/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/bin/windows/contrib/3.6/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/bin/windows/contrib/3.6/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/src/contrib/PACKAGES'
Old packages: 'backports', 'BH', 'boot', 'callr', 'car', 'caret',
'checkmate', 'class', 'classInt', 'cli', 'crosstalk', 'curl',
'data.table', 'digest', 'dplyr', 'effects', 'fansi', 'fastmap',
'forcats', 'foreach', 'foreign', 'ggplot2', 'glue', 'gmp',
'haven', 'HH', 'Hmisc', 'hms', 'htmlTable', 'jsonlite',
'KernSmooth', 'knitr', 'lattice', 'latticeExtra', 'leaps',
'lifecycle', 'lme4', 'lubridate', 'manipulateWidget',
'maptools', 'MASS', 'Matrix', 'mgcv', 'mime', 'ModelMetrics',
'multcomp', 'mvtnorm', 'nlme', 'nloptr', 'nnet', 'openxlsx',
'pbkrtest', 'pillar', 'plyr', 'prettyunits', 'pROC',
'processx', 'pwr', 'quantreg', 'R6', 'Rcpp', 'RcppEigen',
'recipes', 'reshape2', 'rgl', 'rlang', 'Rmpfr', 'robustbase',
'rstudioapi', 'scales', 'shiny', 'sp', 'SparseM', 'stringi',
'survey', 'survival', 'tibble', 'tinytex', 'vcd', 'vctrs',
'VIM', 'xfun', 'yaml', 'zoo'
Update all/some/none? [a/s/n]:
install.packages('AnnotationDbi')
Update all/some/none? [a/s/n]:
n
Warning message:
packages ‘BiocVersion’, ‘org.Hs.eg.db’ are not available (for R version 3.6.1)
> install.packages('AnnotationDbi')
Installing package into ‘D:/Documents/R/win-library/3.6’
(as ‘lib’ is unspecified)
Warning in install.packages :
package ‘AnnotationDbi’ is not available (for R version 3.6.1)
> library("BiocManager", lib.loc="F:/R/R-3.6.1/library")
Bioconductor version 3.10 (BiocManager 1.30.10),
?BiocManager::install for help
Warning message:
程辑包‘BiocManager’是用R版本3.6.3 来建造的
> BiocManager::install("AnnotationDbi",ask = F,update = F)
Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.1
(2019-07-05)
Installing package(s) 'BiocVersion', 'AnnotationDbi'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/bin/windows/contrib/3.6/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/bin/windows/contrib/3.6/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/bin/windows/contrib/3.6/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/bin/windows/contrib/3.6/PACKAGES'
Warning message:
packages ‘BiocVersion’, ‘AnnotationDbi’ are not available (for R version 3.6.1)
> BiocManager::install("AnnotationDbi",ask = F,update = F)
Bioconductor version 3.10 (BiocManager 1.30.10), R 3.6.1
(2019-07-05)
Installing package(s) 'BiocVersion', 'AnnotationDbi'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/src/contrib:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/src/contrib/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/bioc/bin/windows/contrib/3.6/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/annotation/bin/windows/contrib/3.6/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/data/experiment/bin/windows/contrib/3.6/PACKAGES'
Warning: unable to access index for repository https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/bin/windows/contrib/3.6:
cannot open URL 'https://mirrors.ustc.edu.cn/bioc//packages/3.10/workflows/bin/windows/contrib/3.6/PACKAGES'
Warning message:
packages ‘BiocVersion’, ‘AnnotationDbi’ are not available (for R version 3.6.1)