[Top][All Lists]

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

06/56: gnu: Add r-reticulate.

From: Ricardo Wurmus
Subject: 06/56: gnu: Add r-reticulate.
Date: Thu, 31 May 2018 07:22:01 -0400 (EDT)

rekado pushed a commit to branch master
in repository guix.

commit 9f56ceecf35fc13baa08b5f95fc2a6ad9e0d3313
Author: Ricardo Wurmus <address@hidden>
Date:   Thu May 31 12:26:09 2018 +0200

    gnu: Add r-reticulate.
    * gnu/packages/cran.scm (r-reticulate): New variable.
 gnu/packages/cran.scm | 27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

diff --git a/gnu/packages/cran.scm b/gnu/packages/cran.scm
index 5263e89..39b9a64 100644
--- a/gnu/packages/cran.scm
+++ b/gnu/packages/cran.scm
@@ -36,6 +36,7 @@
   #:use-module (gnu packages mpi)
   #:use-module (gnu packages perl)
   #:use-module (gnu packages pkg-config)
+  #:use-module (gnu packages python)
   #:use-module (gnu packages statistics)
   #:use-module (gnu packages web))
@@ -4151,3 +4152,29 @@ bootstrap using a truncated geometric distribution, a 
comprehensive test for
 weak stationarity, column means by group, weighted biplots, and a heuristic to
 obtain a better initial configuration in non-metric MDS.")
     (license license:gpl2)))
+(define-public r-reticulate
+  (package
+    (name "r-reticulate")
+    (version "1.7")
+    (source
+     (origin
+       (method url-fetch)
+       (uri (cran-uri "reticulate" version))
+       (sha256
+        (base32
+         "1ghhc4hbmwpp79ilbdbshynhs61i8sv8z6p1al04jy7ij0lcglxy"))))
+    (build-system r-build-system)
+    (inputs `(("python" ,python)))
+    (propagated-inputs
+     `(("r-jsonlite" ,r-jsonlite)
+       ("r-matrix" ,r-matrix)
+       ("r-rcpp" ,r-rcpp)))
+    (home-page "";)
+    (synopsis "R interface to Python")
+    (description
+     "This package provides an interface from R to Python modules, classes,
+and functions.  When calling into Python, R data types are automatically
+converted to their equivalent Python types.  When values are returned from
+Python to R they are converted back to R types.")
+    (license license:asl2.0)))

reply via email to

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