* [PATCH] Add r-data.table (plus single dependency)
@ 2015-09-27 3:08 Vicente Vera
2015-09-28 8:31 ` Ricardo Wurmus
0 siblings, 1 reply; 2+ messages in thread
From: Vicente Vera @ 2015-09-27 3:08 UTC (permalink / raw
To: Guix-devel
[-- Attachment #1: Type: text/plain, Size: 143 bytes --]
Hello,
Here are two patches that add R packages data.table and chron.
Hope both synopsis and descriptions are OK!
Thank you for everything.
[-- Attachment #2: 0001-gnu-Add-r-chron.patch --]
[-- Type: text/x-patch, Size: 1355 bytes --]
From 27c21038d0a23910ad3bc176c402a39008089049 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Sat, 26 Sep 2015 23:54:08 -0300
Subject: [PATCH 1/2] gnu: Add r-chron.
* gnu/packages/statistics.scm (r-chron): New variable.
---
gnu/packages/statistics.scm | 18 ++++++++++++++++++
1 file changed, 18 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index cbcef49..f26b7ff 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -894,3 +894,21 @@ pieces of code in C++; 3) use the same code interface to work with data no
matter where it is stored, whether in a data frame, a data table or
database.")
(license license:expat)))
+
+(define-public r-chron
+ (package
+ (name "r-chron")
+ (version "2.3-47")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "chron" version))
+ (sha256
+ (base32
+ "1xj50kk8b8mbjpszp8i0wbripb5a4b36jcscwlbyap8n4487g34s"))))
+ (build-system r-build-system)
+ (home-page "http://cran.r-project.org/web/packages/chron")
+ (synopsis "Chronological R objects which can handle dates and times")
+ (description
+ "This package provides chronological R objects which can handle dates and
+times.")
+ (license license:gpl2)))
--
2.5.3
[-- Attachment #3: 0002-gnu-Add-r-data.table.patch --]
[-- Type: text/x-patch, Size: 1489 bytes --]
From 1b6f733edf83188d25ee3f19d510498e393c4432 Mon Sep 17 00:00:00 2001
From: Vicente Vera Parra <vicentemvp@gmail.com>
Date: Sat, 26 Sep 2015 23:56:04 -0300
Subject: [PATCH 2/2] gnu: Add r-data.table.
* gnu/packages/statistics.scm (r-data.table): New variable.
---
gnu/packages/statistics.scm | 21 +++++++++++++++++++++
1 file changed, 21 insertions(+)
diff --git a/gnu/packages/statistics.scm b/gnu/packages/statistics.scm
index f26b7ff..f854a44 100644
--- a/gnu/packages/statistics.scm
+++ b/gnu/packages/statistics.scm
@@ -912,3 +912,24 @@ database.")
"This package provides chronological R objects which can handle dates and
times.")
(license license:gpl2)))
+
+(define-public r-data.table
+ (package
+ (name "r-data.table")
+ (version "1.9.6")
+ (source (origin
+ (method url-fetch)
+ (uri (cran-uri "data.table" version))
+ (sha256
+ (base32
+ "0vi3zplpxqbg78z9ifjfs1kl2i8qhkqxr7l9ysp2663kq54w6x3g"))))
+ (build-system r-build-system)
+ (propagated-inputs
+ `(("r-chron" ,r-chron)))
+ (home-page "https://github.com/Rdatatable/data.table/wiki")
+ (synopsis "Enhanced version of data.frame R object")
+ (description
+ "The R data.table package provides functions for fast aggregation of
+large data (e.g. 100GB in RAM), fast ordered joins, fast add/modify/delete of
+columns by group, column listing and fast file reading.")
+ (license license:gpl2+)))
--
2.5.3
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Add r-data.table (plus single dependency)
2015-09-27 3:08 [PATCH] Add r-data.table (plus single dependency) Vicente Vera
@ 2015-09-28 8:31 ` Ricardo Wurmus
0 siblings, 0 replies; 2+ messages in thread
From: Ricardo Wurmus @ 2015-09-28 8:31 UTC (permalink / raw
To: Vicente Vera; +Cc: Guix-devel
Hi Vicente,
both look good to me. I’ll push them both.
Thanks a lot!
~~ Ricardo
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2015-09-28 8:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-09-27 3:08 [PATCH] Add r-data.table (plus single dependency) Vicente Vera
2015-09-28 8:31 ` Ricardo Wurmus
Code repositories for project(s) associated with this external index
https://git.savannah.gnu.org/cgit/guix.git
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.