aboutsummaryrefslogtreecommitdiffstats
path: root/math
diff options
context:
space:
mode:
authorskreuzer <skreuzer@FreeBSD.org>2012-08-22 22:03:17 +0800
committerskreuzer <skreuzer@FreeBSD.org>2012-08-22 22:03:17 +0800
commit8c1b1f2b4800a998cf6b94947889ee8bda0eb393 (patch)
tree5eee10a80e8403fe7a8261ecd59d53e81d9e461e /math
parent26befd6d31a73b3a321abe2ee90ca8bf0999a582 (diff)
downloadfreebsd-ports-gnome-8c1b1f2b4800a998cf6b94947889ee8bda0eb393.tar.gz
freebsd-ports-gnome-8c1b1f2b4800a998cf6b94947889ee8bda0eb393.tar.zst
freebsd-ports-gnome-8c1b1f2b4800a998cf6b94947889ee8bda0eb393.zip
An R interface to the Lawson-Hanson implementation of an algorithm for
non-negative least squares (NNLS). Also allows the combination of non-negative and non-positive constraints. WWW: http://cran.r-project.org/web/packages/nnls/
Diffstat (limited to 'math')
-rw-r--r--math/Makefile1
-rw-r--r--math/R-cran-nnls/Makefile20
-rw-r--r--math/R-cran-nnls/distinfo2
-rw-r--r--math/R-cran-nnls/pkg-descr5
4 files changed, 28 insertions, 0 deletions
diff --git a/math/Makefile b/math/Makefile
index f7e15857739e..444d58fd70e6 100644
--- a/math/Makefile
+++ b/math/Makefile
@@ -22,6 +22,7 @@
SUBDIR += R-cran-labeling
SUBDIR += R-cran-memisc
SUBDIR += R-cran-mvtnorm
+ SUBDIR += R-cran-nnls
SUBDIR += R-cran-psych
SUBDIR += R-cran-sandwich
SUBDIR += R-cran-sm
diff --git a/math/R-cran-nnls/Makefile b/math/R-cran-nnls/Makefile
new file mode 100644
index 000000000000..96ddb5651571
--- /dev/null
+++ b/math/R-cran-nnls/Makefile
@@ -0,0 +1,20 @@
+# New ports collection makefile for: nnls
+# Date created: 2012-08-21
+# Whom: Steven Kreuzer <skreuzer@FreeBSD.org>
+#
+# $FreeBSD$
+
+PORTNAME= nnls
+PORTVERSION= 1.4
+CATEGORIES= math
+DISTNAME= ${PORTNAME}_${PORTVERSION}
+
+MAINTAINER= skreuzer@FreeBSD.org
+COMMENT= R implementation of an algorithm for non-negative least squares
+
+LICENSE= GPLv2
+
+USE_R_MOD= yes
+R_MOD_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/math/R-cran-nnls/distinfo b/math/R-cran-nnls/distinfo
new file mode 100644
index 000000000000..925f3b53a049
--- /dev/null
+++ b/math/R-cran-nnls/distinfo
@@ -0,0 +1,2 @@
+SHA256 (nnls_1.4.tar.gz) = 0e5d77abae12bc50639d34354f96a8e079408c9d7138a360743b73bd7bce6c1f
+SIZE (nnls_1.4.tar.gz) = 10538
diff --git a/math/R-cran-nnls/pkg-descr b/math/R-cran-nnls/pkg-descr
new file mode 100644
index 000000000000..985c2efbb748
--- /dev/null
+++ b/math/R-cran-nnls/pkg-descr
@@ -0,0 +1,5 @@
+An R interface to the Lawson-Hanson implementation of an algorithm for
+non-negative least squares (NNLS). Also allows the combination of non-negative
+and non-positive constraints.
+
+WWW: http://cran.r-project.org/web/packages/nnls/