From 2d047896f9d0241ef565f1ed237103071a0a5d91 Mon Sep 17 00:00:00 2001 From: Ricardo Wurmus Date: Mon, 12 Sep 2016 16:17:06 +0200 Subject: gnu: Add r-quadprog. * gnu/packages/maths.scm (r-quadprog): New variable. --- gnu/packages/maths.scm | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) (limited to 'gnu') diff --git a/gnu/packages/maths.scm b/gnu/packages/maths.scm index c8b59dfd2a..b5cf05a861 100644 --- a/gnu/packages/maths.scm +++ b/gnu/packages/maths.scm @@ -1191,6 +1191,27 @@ sparse system of linear equations A x = b using Guassian elimination.") (inputs (alist-delete "pt-scotch" (package-inputs mumps-openmpi))))) +(define-public r-quadprog + (package + (name "r-quadprog") + (version "1.5-5") + (source + (origin + (method url-fetch) + (uri (cran-uri "quadprog" version)) + (sha256 + (base32 + "0jg3r6abmhp8r9vkbhpx9ldjfw6vyl1m4c5vwlyjhk1mi03656fr")))) + (build-system r-build-system) + (native-inputs + `(("gfortran" ,gfortran))) + (home-page "http://cran.r-project.org/web/packages/quadprog") + (synopsis "Functions to solve quadratic programming problems") + (description + "This package contains routines and documentation for solving quadratic +programming problems.") + (license license:gpl3+))) + (define-public r-pracma (package (name "r-pracma") -- cgit v1.2.3