all messages for Guix-related lists mirrored at yhetil.org
 help / color / mirror / code / Atom feed
From: Vicente Vera <vicentemvp@gmail.com>
To: Guix-devel <guix-devel@gnu.org>
Subject: [PATCH] Add r-data.table (plus single dependency)
Date: Sun, 27 Sep 2015 00:08:59 -0300	[thread overview]
Message-ID: <CAMfbzvCa0ooqKTqsMN2ZkWq=LvP+zpFWo0Dd-ts2TRyVdBmdUQ@mail.gmail.com> (raw)

[-- 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


             reply	other threads:[~2015-09-27  3:09 UTC|newest]

Thread overview: 2+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2015-09-27  3:08 Vicente Vera [this message]
2015-09-28  8:31 ` [PATCH] Add r-data.table (plus single dependency) Ricardo Wurmus

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='CAMfbzvCa0ooqKTqsMN2ZkWq=LvP+zpFWo0Dd-ts2TRyVdBmdUQ@mail.gmail.com' \
    --to=vicentemvp@gmail.com \
    --cc=guix-devel@gnu.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.