summaryrefslogtreecommitdiff
path: root/converters
diff options
context:
space:
mode:
authorTAKATSU Tomonari <tota@FreeBSD.org>2011-09-04 12:53:56 +0000
committerTAKATSU Tomonari <tota@FreeBSD.org>2011-09-04 12:53:56 +0000
commit4be992e88c88e1a1a9d429c874d2323e939895d7 (patch)
tree57431c16827bd36ff880510637df0bc51736425d /converters
parentDon't mark dictionaries as vulnerable. (diff)
- Add a new port: converters/R-cran-RJSONIO
This is a package that allows conversion to and from data in Javascript object notation (JSON) format. This allows R objects to be inserted into Javascript/ECMAScript/ActionScript code and allows R programmers to read and convert JSON content to R objects. This is an alternative to rjson package. That version was too slow for converting large R objects to JSON and is not extensible, but a very useful prototype. It is fast for parsing. This package uses methods, vectorized operations and C code and callbacks to R functions for deserializing JSON objects to R. Verison 0.4 of this package uses a new native parser, implements the transformation code in C and allocates memory efficiently (rather than concatenating because of event driven parsing). The result is a significantly faster parsing of large JSON documents. WWW: http://cran.r-project.org/web/packages/RJSONIO/
Notes
Notes: svn path=/head/; revision=281149
Diffstat (limited to 'converters')
-rw-r--r--converters/Makefile1
-rw-r--r--converters/R-cran-RJSONIO/Makefile22
-rw-r--r--converters/R-cran-RJSONIO/distinfo2
-rw-r--r--converters/R-cran-RJSONIO/pkg-descr15
4 files changed, 40 insertions, 0 deletions
diff --git a/converters/Makefile b/converters/Makefile
index fb7c73eaaac6..a546ec5e67bc 100644
--- a/converters/Makefile
+++ b/converters/Makefile
@@ -3,6 +3,7 @@
COMMENT = Character code converters
+ SUBDIR += R-cran-RJSONIO
SUBDIR += aish
SUBDIR += ascii2binary
SUBDIR += asr10
diff --git a/converters/R-cran-RJSONIO/Makefile b/converters/R-cran-RJSONIO/Makefile
new file mode 100644
index 000000000000..45146b000459
--- /dev/null
+++ b/converters/R-cran-RJSONIO/Makefile
@@ -0,0 +1,22 @@
+# New ports collection makefile for: R-cran-RJSONIO
+# Date created: 2011-09-03
+# Whom: TAKATSU Tomonari <tota@FreeBSD.org>
+#
+# $FreeBSD$
+#
+
+PORTNAME= RJSONIO
+DISTVERSION= 0.94-0
+CATEGORIES= converters
+PKGNAMEPREFIX= R-cran-
+DISTNAME= ${PORTNAME}_${DISTVERSION}
+
+MAINTAINER= tota@FreeBSD.org
+COMMENT= Serialize R objects to JSON, JavaScript Object Notation
+
+LICENSE= BSD
+
+USE_R_MOD= yes
+R_MOD_AUTOPLIST= yes
+
+.include <bsd.port.mk>
diff --git a/converters/R-cran-RJSONIO/distinfo b/converters/R-cran-RJSONIO/distinfo
new file mode 100644
index 000000000000..da8d8d914ac8
--- /dev/null
+++ b/converters/R-cran-RJSONIO/distinfo
@@ -0,0 +1,2 @@
+SHA256 (RJSONIO_0.94-0.tar.gz) = fd915b43e44d4bde7750336c9320e85edd8cbb8df30dc21590b5fe6f94121e5d
+SIZE (RJSONIO_0.94-0.tar.gz) = 1143733
diff --git a/converters/R-cran-RJSONIO/pkg-descr b/converters/R-cran-RJSONIO/pkg-descr
new file mode 100644
index 000000000000..1e8ef6d200f7
--- /dev/null
+++ b/converters/R-cran-RJSONIO/pkg-descr
@@ -0,0 +1,15 @@
+This is a package that allows conversion to and from data in
+Javascript object notation (JSON) format. This allows R objects to
+be inserted into Javascript/ECMAScript/ActionScript code and allows
+R programmers to read and convert JSON content to R objects. This
+is an alternative to rjson package. That version was too slow for
+converting large R objects to JSON and is not extensible, but a
+very useful prototype. It is fast for parsing. This package uses
+methods, vectorized operations and C code and callbacks to R functions
+for deserializing JSON objects to R. Verison 0.4 of this package
+uses a new native parser, implements the transformation code in C
+and allocates memory efficiently (rather than concatenating because
+of event driven parsing). The result is a significantly faster
+parsing of large JSON documents.
+
+WWW: http://cran.r-project.org/web/packages/RJSONIO/