gnu: Add r-filematrix.

* gnu/packages/cran.scm (r-filematrix): New variable.
This commit is contained in:
Ricardo Wurmus 2019-12-13 19:10:33 +01:00
parent 542590c5a3
commit fa82997fea
No known key found for this signature in database
GPG key ID: 197A5888235FACAC

View file

@ -17156,3 +17156,33 @@ (define-public r-acm4r
the align-and-count method.")
;; Any version of the GPL
(license (list license:gpl2+ license:gpl3+))))
(define-public r-filematrix
(package
(name "r-filematrix")
(version "1.3")
(source
(origin
(method url-fetch)
(uri (cran-uri "filematrix" version))
(sha256
(base32
"1v3aj1ng742msb0sfdnjsbqb508mqjf8jlq2v33vxldhradw5w0b"))))
(properties `((upstream-name . "filematrix")))
(build-system r-build-system)
;; These inputs are needed for vignettes
(native-inputs
`(("r-knitr" ,r-knitr)
("r-rmarkdown" ,r-rmarkdown)
("pandoc-citeproc" ,ghc-pandoc-citeproc)))
(home-page "https://github.com/andreyshabalin/filematrix")
(synopsis "File-backed matrix class with convenient read and write access")
(description
"This package provides an interface for working with large matrices
stored in files, not in computer memory. It supports multiple non-character
data types (double, integer, logical and raw) of various sizes (e.g. 8 and 4
byte real values). Access to parts of the matrix is done by indexing, exactly
as with usual R matrices. It supports very large matrices; the package has
been tested on multi-terabyte matrices. It allows for more than 2^32 rows or
columns, ad allows for quick addition of extra columns to a filematrix.")
(license license:lgpl3)))