Patchwork [3/4] gnu: Add r-bigmemory.

login
register
mail settings
Submitter Roel Janssen
Date Oct. 28, 2016, 12:26 p.m.
Message ID <878tt8hd7k.fsf@gnu.org>
Download mbox | patch
Permalink /patch/16902/
State New
Headers show

Comments

Roel Janssen - Oct. 28, 2016, 12:26 p.m.
* gnu/packages/statistics.scm (r-bigmemory): New variable.
---
 gnu/packages/statistics.scm | 24 ++++++++++++++++++++++++
 1 file changed, 24 insertions(+)
Ricardo Wurmus - Oct. 28, 2016, 8:46 p.m.
Roel Janssen <roel@gnu.org> writes:

> * gnu/packages/statistics.scm (r-bigmemory): New variable.
> ---
>  gnu/packages/statistics.scm | 24 ++++++++++++++++++++++++
>  1 file changed, 24 insertions(+)
>
> diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
> index a50e792..478e1a5 100644
> --- a/gnu/packages/statistics.scm
> +++ b/gnu/packages/statistics.scm
> @@ -2829,6 +2829,30 @@ message passing.")
>  bigmemory and synchronicity packages.")
>      (license (list license:lgpl3 license:asl2.0))))
>  
> +(define-public r-bigmemory
> +  (package
> +    (name "r-bigmemory")
> +    (version "4.5.19")
> +    (source
> +     (origin
> +       (method url-fetch)
> +       (uri (cran-uri "bigmemory" version))
> +       (sha256
> +        (base32
> +         "191gbzca557kpk7mdsg716vfyqpr7j5din6qb8hin4g1nkzzwmg6"))))
> +    (build-system r-build-system)
> +    (propagated-inputs
> +     `(("r-bh" ,r-bh)
> +       ("r-rcpp" ,r-rcpp)
> +       ("r-bigmemory-sri" ,r-bigmemory-sri)
> +       ("r-r-utils" ,r-r-utils)))
> +    (home-page "http://www.bigmemory.org")
> +    (synopsis "Manage large matrices with shared memory or memory-mapped files")
> +    (description "This package provides methods to Create, store,
> access, and

“Create” –> “create”

> +manipulate large matrices.  Matrices are allocated to shared memory and may use
> +memory-mapped files.")
> +    (license (list license:lgpl3 license:asl2.0))))
> +

Same question as before: what does this list mean?  And: are you sure
it’s LGPLv3 only?

~~ Ricardo

Patch

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index a50e792..478e1a5 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -2829,6 +2829,30 @@  message passing.")
 bigmemory and synchronicity packages.")
     (license (list license:lgpl3 license:asl2.0))))
 
+(define-public r-bigmemory
+  (package
+    (name "r-bigmemory")
+    (version "4.5.19")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "bigmemory" version))
+       (sha256
+        (base32
+         "191gbzca557kpk7mdsg716vfyqpr7j5din6qb8hin4g1nkzzwmg6"))))
+    (build-system r-build-system)
+    (propagated-inputs
+     `(("r-bh" ,r-bh)
+       ("r-rcpp" ,r-rcpp)
+       ("r-bigmemory-sri" ,r-bigmemory-sri)
+       ("r-r-utils" ,r-r-utils)))
+    (home-page "http://www.bigmemory.org")
+    (synopsis "Manage large matrices with shared memory or memory-mapped files")
+    (description "This package provides methods to Create, store, access, and
+manipulate large matrices.  Matrices are allocated to shared memory and may use
+memory-mapped files.")
+    (license (list license:lgpl3 license:asl2.0))))
+
 (define-public r-nmf
   (package
     (name "r-nmf")