0

我正在尝试安装 GeneR 库(http://www.bioconductor.org/packages/release/bioc/html/GeneR.html):我使用的是 win7 和最新的 R 2.14.2。

安装时出错:

> source("http://bioconductor.org/biocLite.R")
trying URL 'http://www.bioconductor.org/packages/2.9/bioc/bin/windows/contrib/2.14/BiocInstaller_1.2.1.zip'
Content type 'application/zip' length 32947 bytes (32 Kb)
opened URL
downloaded 32 Kb

package ‘BiocInstaller’ successfully unpacked and MD5 sums checked

The downloaded packages are in
        C:\Users\Bluev\AppData\Local\Temp\RtmpQJYYaS\downloaded_packages
BiocInstaller version 1.2.1, ?biocLite for help
> biocLite("GeneR")
BioC_mirror: 'http://www.bioconductor.org'
Using R version 2.14, BiocInstaller version 1.2.1.
Installing package(s) 'GeneR'
Old packages: 'lattice', 'Matrix', 'rpart'
Update all/some/none? [a/s/n]: a
trying URL 'http://cran.fhcrc.org/bin/windows/contrib/2.14/lattice_0.20-6.zip'
Content type 'application/zip' length 704272 bytes (687 Kb)
opened URL
downloaded 687 Kb

trying URL 'http://cran.fhcrc.org/bin/windows/contrib/2.14/Matrix_1.0-5.zip'
Content type 'application/zip' length 3278758 bytes (3.1 Mb)
opened URL
downloaded 3.1 Mb

trying URL 'http://cran.fhcrc.org/bin/windows/contrib/2.14/rpart_3.1-52.zip'
Content type 'application/zip' length 200827 bytes (196 Kb)
opened URL
downloaded 196 Kb

package ‘lattice’ successfully unpacked and MD5 sums checked
package ‘Matrix’ successfully unpacked and MD5 sums checked
package ‘rpart’ successfully unpacked and MD5 sums checked

The downloaded packages are in
        C:\Users\Bluev\AppData\Local\Temp\RtmpQJYYaS\downloaded_packages
Warning message:
In getDependencies(pkgs, dependencies, available, lib) :
  package ‘GeneR’ is not available (for R version 2.14.2)

如何安装这个库?

4

1 回答 1

0

你准备好从源代码安装了吗?GeneR 的 Bioconctor 页面不指示 Windows 二进制文件可用。Rtools 目录位于 /bin/windows/ 节点下的任何 CRAN 中。例如: http: //probability.ca/cran/bin/windows/Rtools/

于 2012-03-21T21:59:17.497 回答