Hello, Here are two patches that add R packages data.table and chron.
Hope both synopsis and descriptions are OK! Thank you for everything.
From 27c21038d0a23910ad3bc176c402a39008089049 Mon Sep 17 00:00:00 2001 From: Vicente Vera Parra <[email protected]> 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
From 1b6f733edf83188d25ee3f19d510498e393c4432 Mon Sep 17 00:00:00 2001 From: Vicente Vera Parra <[email protected]> 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
