guix-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 1/2] gnu: Add r-bit.


From: Ben Woodcroft
Subject: [PATCH 1/2] gnu: Add r-bit.
Date: Tue, 13 Dec 2016 20:00:07 +1000

* gnu/packages/statistics.scm (r-bit): New variable.
---
 gnu/packages/statistics.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index 36f1889ef..ea9ef0e39 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -205,6 +205,29 @@ publication-quality data plots.  A large amount of 
3rd-party packages are
 available, greatly increasing its breadth and scope.")
     (license license:gpl3+)))
 
+(define-public r-bit
+  (package
+    (name "r-bit")
+    (version "1.1-12")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "bit" version))
+       (sha256
+        (base32
+         "0a6ig6nnjzq80r2ll4hc74za3xwzbzig6wlyb4dby0knzf3iqa6f"))))
+    (build-system r-build-system)
+    (home-page "http://ff.r-forge.r-project.org";)
+    (synopsis "A class for vectors of 1-bit booleans")
+    (description
+     "This package provides bitmapped vectors of booleans (no NAs), coercion
+from and to logicals, integers and integer subscripts; fast boolean operators
+and fast summary statistics.  With 'bit' vectors true binary booleans
+{FALSE,TRUE} can be stored with 1 bit only, on a 32 bit architecture this
+means factor of 32 less RAM and a factor of 32 more speed on boolean
+operations.")
+    (license license:gpl2)))
+
 (define-public r-colorspace
   (package
     (name "r-colorspace")
-- 
2.11.0




reply via email to

[Prev in Thread] Current Thread [Next in Thread]