Blog Archives

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 »

V8 version 0.4: console.log and exception handling

January 12, 2015
By
V8 version 0.4: console.log and exception handling

V8 version 0.4 has appeared on CRAN. This version introduces several new console functions (console.log, console.warn, console.error) and two vignettes: Introduction to V8 for R Using NPM packages in V8 I will talk more about using NPM in another blog post this week. JavaScript Exceptions Starting V8 version 0.4 each context has a console object...

Read more »

curl 0.4 bugfix release

January 10, 2015
By
curl 0.4 bugfix release

This week curl version 0.4 appeared on CRAN. This release fixes a memory bug that was introduced in the previous version, and which could under some circumstances crash your R session. The new version is well tested and super stable. If you are using this package, updating is highly recommended. What is...

Read more »