Blog Archives

Upcoming talks about jsonlite and mongolite

April 30, 2015
By
Upcoming talks about jsonlite and mongolite

This summer I will be giving an invited talk at the annual French R Meeting in Grenoble as well as a shorter talk at UseR 2015 in Aalborg. The presentations will feature some recent R packages in the json/web space (curl, jsonlite, mongolite, V...

Read more »

JSON serialization now even faster and prettier

April 12, 2015
By
JSON serialization now even faster and prettier

The jsonlite package implements a robust, high performance JSON parser and generator for R, optimized for statistical data and the web. This week version 0.9.16 appeared on CRAN which has a new prettifying system, improved performance and some additional tweaks for the new mongolite package. Improved Performance Everyones favorite feature of jsonlite: performance....

Read more »

Improved memory usage and RJSONIO compatibility in jsonlite 0.9.15

March 30, 2015
By
Improved memory usage and RJSONIO compatibility in jsonlite 0.9.15

The jsonlite package implements a robust, high performance JSON parser and generator for R, optimized for statistical data and the web. Last week version 0.9.15 appeared on CRAN which improves memory usage and compatibility with other packages. Migrating to jsonlite The upcoming release of shiny will switch from RJSONIO to jsonlite. To...

Read more »

OpenCPU server update for R 3.1.3

March 11, 2015
By
OpenCPU server update for R 3.1.3

Following the release of R 3.1.3, I have pushed a new build of the OpenCPU server to launchpad, dockerhub and OBS. This update has no changes in OpenCPU itself, but includes updated versions of R, RStudio and R packages used by OpenCPU. To upg...

Read more »

Compiling CoffeeScript in R with the js package

February 26, 2015
By
Compiling CoffeeScript in R with the js package

A new release of the js package has made it’s way to CRAN. This version adds support for compiling Coffee Script. Along with the uglify and jshint tools already in there, the package now provides a very complete suite for compiling, validating, reformating, optimizing and analyzing JavaScript code in R. Coffee Script According...

Read more »

RMySQL version 0.10.2: Full SSL Support

February 25, 2015
By
RMySQL version 0.10.2: Full SSL Support

RMySQL version 0.10.2 has appeared on CRAN. This is a maintenance release to streamline the build process on various platforms. Most importantly, the Windows/OSX binary packages from CRAN are now built with full SSL support. On Linux, the configure script has been updated a bit to automatically find the mysql client library. A...

Read more »

Jade: a clean, whitespace-sensitive template language for writing HTML

February 19, 2015
By
Jade: a clean, whitespace-sensitive template language for writing HTML

Jade is a high performance template engine heavily influenced by Haml. It is designed for writing HTML pages using a concise, modern syntax without the verbosity of old fasioned XML-like tags that we all want to forget about. The new rjade package implements convenient bindings from R to this popular JavaScript...

Read more »

Introducing js: tools for working with JavaScript in R

February 16, 2015
By
Introducing js: tools for working with JavaScript in R

A new package has appeared on CRAN called js. This package implements bindings to several popular JavaScript libraries for validating, reformating, optimizing and analyzing JavaScript code. It builds on the V8 engine, the fully standalone JavaScript engine in R. Syntax Validation Several R packages allow the user to supply JavaScript code to...

Read more »

Minimist: an example of writing native JavaScript bindings in R

February 15, 2015
By
Minimist: an example of writing native JavaScript bindings in R

A new package has appeared on CRAN called minimist, which implements an interface to the popular JavaScript library. This package has only one function, used for argument parsing. For example in RGui on OSX, the output of commandArgs() looks like this: > commandArgs() "R" ...

Read more »

V8 version 0.5: typed arrays and sql.js

February 14, 2015
By
V8 version 0.5: typed arrays and sql.js

Earlier this month, V8 version 0.5 appeared on CRAN. This version adds support typed arrays as specified in ECMA 6 in order to support high performance computing and libraries compiled with emscripten. A big thanks goes to Kenton Russell (@timelyportfolio) for suggesting these features. Example: sql.js These new features increase the amount of...

Read more »