Debian

如何在 Debian 中安裝 R Vennerable?

  • November 14, 2016

關於 2014 年的主題有很多執行緒,但他們的提議在 R 3.3.1 中不起作用,顯然是因為不滿足依賴關係,但我也無法安裝它們

install.packages("Vennerable", repos="http://R-Forge.R-project.org")

輸出為根

> install.packages("Vennerable", repos="http://R-Forge.R-project.org")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning: dependencies ‘graph’, ‘RBGL’ are not available
trying URL 'http://R-Forge.R-project.org/src/contrib/Vennerable_3.0.tar.gz'
Content type 'application/x-gzip' length 1727552 bytes (1.6 MB)
==================================================
downloaded 1.6 MB

ERROR: dependencies ‘graph’, ‘RBGL’ are not available for package ‘Vennerable’
* removing ‘/usr/local/lib/R/site-library/Vennerable’

The downloaded source packages are in
   ‘/tmp/Rtmp9Ubsk3/downloaded_packages’
Warning message:
In install.packages("Vennerable", repos = "http://R-Forge.R-project.org") :
 installation of package ‘Vennerable’ had non-zero exit status

> install.packages("graph")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning message:
package ‘graph’ is not available (for R version 3.3.1) 

> install.packages("RBGL")
Installing package into ‘/usr/local/lib/R/site-library’
(as ‘lib’ is unspecified)
Warning message:
package ‘RBGL’ is not available (for R version 3.3.1) 

R:3.3.1

作業系統:Debian 8.5

軟體封包檔:這裡

graphRBGL位於 Bioconductor 包儲存庫中,以下對我有用:

R> source("http://bioconductor.org/biocLite.R"); biocLite(c("graph", "RBGL"))
R> install.packages("reshape")
R> install.packages("Vennerable", repos="http://R-Forge.R-project.org")

引用自:https://unix.stackexchange.com/questions/323106