我在 R 中安装 bioconductor 包时遇到了一些问题,它挂在“测试是否可以加载已安装的包”部分
source("http://bioconductor.org/biocLite.R")
#Installing package into ‘/homexxx/lib/R’
#(as ‘lib’ is unspecified)
#trying URL 'http://www.bioconductor.org/packages/2.12/bioc/src/contrib/BiocInstaller_1.10.2.tar.gz'
#Content type 'application/x-gzip' length 13424 bytes (13 Kb)
#opened URL
#==================================================
#downloaded 13 Kb
#
#* installing *source* package ‘BiocInstaller’ ...
#** R
#** inst
#** preparing package for lazy loading
#** help
#*** installing help indices
#** building package indices
#** testing if installed package can be loaded
#^C
#No traceback available
#* removing ‘/home/xxx/lib/R/BiocInstaller’
#
#The downloaded source packages are in
# ‘/tmp/Rtmpb2nVhP/downloaded_packages’
#'biocLite.R' failed to install 'BiocInstaller', use
# 'install.packages("BiocInstaller",
# repos="http://www.bioconductor.org/packages/2.12/bioc")'
这是R版本:
R --version
R version 3.0.1 (2013-05-16) -- "Good Sport"
Copyright (C) 2013 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)
R is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under the terms of the
GNU General Public License versions 2 or 3.
For more information about these matters see
http://www.gnu.org/licenses/.