DebianにR Vennerableをインストールする方法は?

DebianにR Vennerableをインストールする方法は?

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
OS:Debian 8.5
パッケージドキュメント:ここ

ベストアンサー1

このパッケージはBioconductorパッケージリポジトリにあり、以下は私にとって効果的でしたgraphRBGL

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")

おすすめ記事