summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authorRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-03-31 15:43:48 +0200
committerRicardo Wurmus <ricardo.wurmus@mdc-berlin.de>2016-04-14 14:53:31 +0200
commit07f911bab77a1c19c3729c649cadd317d1106fc8 (patch)
treeb71967215ac169ed91eaf3b00a0a8ba69ae8b126 /gnu
parentb783ff7833df1cb5284139ed80a00826b5dc93fd (diff)
downloadpatches-07f911bab77a1c19c3729c649cadd317d1106fc8.tar
patches-07f911bab77a1c19c3729c649cadd317d1106fc8.tar.gz
gnu: Add r-igraph.
* gnu/packages/statistics.scm (r-igraph): New variable.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/packages/statistics.scm31
1 files changed, 31 insertions, 0 deletions
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index b234517f9d..d820b08eb4 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -40,6 +40,7 @@
#:use-module (gnu packages image)
#:use-module (gnu packages java)
#:use-module (gnu packages maths)
+ #:use-module (gnu packages multiprecision)
#:use-module (gnu packages pcre)
#:use-module (gnu packages perl)
#:use-module (gnu packages pkg-config)
@@ -2158,6 +2159,36 @@ optimized in C++, and the main interface function provides an easy way of
performing parallel computations on multicore machines.")
(license license:gpl2+)))
+(define-public r-igraph
+ (package
+ (name "r-igraph")
+ (version "1.0.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (cran-uri "igraph" version))
+ (sha256
+ (base32
+ "00jnm8v3kvxpxav5klld2z2nnkcpj4sdwv4ksipddy5mp04ysr6w"))))
+ (build-system r-build-system)
+ (native-inputs
+ `(("gfortran" ,gfortran)))
+ (inputs
+ `(("gmp" ,gmp)
+ ("libxml2" ,libxml2)))
+ (propagated-inputs
+ `(("r-irlba" ,r-irlba)
+ ("r-magrittr" ,r-magrittr)
+ ("r-nmf" ,r-nmf)))
+ (home-page "http://igraph.org")
+ (synopsis "Network analysis and visualization")
+ (description
+ "This package provides routines for simple graphs and network analysis.
+It can handle large graphs very well and provides functions for generating
+random and regular graphs, graph visualization, centrality methods and much
+more.")
+ (license license:gpl2+)))
+
(define-public r-r-methodss3
(package
(name "r-r-methodss3")