diff options
author | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2016-03-31 15:43:48 +0200 |
---|---|---|
committer | Ricardo Wurmus <ricardo.wurmus@mdc-berlin.de> | 2016-04-14 14:53:31 +0200 |
commit | 07f911bab77a1c19c3729c649cadd317d1106fc8 (patch) | |
tree | b71967215ac169ed91eaf3b00a0a8ba69ae8b126 /gnu | |
parent | b783ff7833df1cb5284139ed80a00826b5dc93fd (diff) | |
download | guix-07f911bab77a1c19c3729c649cadd317d1106fc8.tar.gz guix-07f911bab77a1c19c3729c649cadd317d1106fc8.zip |
gnu: Add r-igraph.
* gnu/packages/statistics.scm (r-igraph): New variable.
Diffstat (limited to 'gnu')
-rw-r--r-- | gnu/packages/statistics.scm | 31 |
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") |