Blog Archives

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 »

New in openssl 0.3: hash functions

January 9, 2015
By
New in openssl 0.3: hash functions

This week version 0.3 of the openssl package appeared on CRAN. New in this release are bindings to the cryptographic hashning functions in OpenSSL. Not exactly ground breaking (hashing functions have long been available from digest) but nice to have anyway. An overview from the new vignette: Hashing functions The functions sha1,...

Read more »

OpenCPU release 1.4.6: gzip and systemd

December 29, 2014
By
OpenCPU release 1.4.6: gzip and systemd

OpenCPU server version 1.4.6 has been released to launchpad, OBS, and dockerhub (more about docker in a future blog post). I also updated the instructions to install the server or build from source for rpm or deb. If you have a running deployme...

Read more »

Interactive JavaScript in R with V8: a crossfilter example

December 23, 2014
By
Interactive JavaScript in R with V8: a crossfilter example

In last weeks blog post introducing the new V8 package I showed how you can use context$eval and context$source to execute commands and scripts of JavaScript in R. It turns out that typing context$eval() for each JavaScript command gets annoying very quickly, so the new V8 version 0.3 adds an interactive console...

Read more »

Introducing V8: An Embedded JavaScript Engine for R

December 16, 2014
By
Introducing V8: An Embedded JavaScript Engine for R

JavaScript is an fantastic language for building applications. It runs on browsers, servers and databases, making it possible to design an entire web stack in a single language. The OpenCPU JavaScript client already allows for calling R functions from JavaScript (see jsfiddles and apps). With the new V8...

Read more »

New features in jsonlite 0.9.14

December 4, 2014
By
New features in jsonlite 0.9.14

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.14 appeared on CRAN which adds some handy new features. Significant Digits By defaul...

Read more »

New package: curl. High performance http(s) streaming in R.

November 21, 2014
By
New package: curl. High performance http(s) streaming in R.

A bit ago I blogged about new streaming features in jsonlite: library(jsonlite) diamonds2 <- stream_in(url("http://jeroenooms.github.io/data/diamonds.json")) In the same blog post it was also mentioned that R does currently not support https connections. The RCurl package does support https, but does not have a connection interface. This bothered me so I decided to write one....

Read more »

OpenCPU release 1.4.5: configurable webhooks

November 9, 2014
By
OpenCPU release 1.4.5: configurable webhooks

OpenCPU 1.4.5 is a patch release that improves performance by taking advantage of latest versions of jsonlite, devtools, knitr, openssl, etc. Also new in this release is the option to pass build parameters for deploying on ocpu.io (or your own ...

Read more »

High performance JSON streaming in R: Part 1

November 5, 2014
By
High performance JSON streaming in R: Part 1

The jsonlite stream_in and stream_out functions implement line-by-line processing of JSON data over a connection, such as a socket, url, file or pipe. Thereby we can construct a data processing pipeline that can handle large (or unlimited) amounts of data with limited memory. This post will walk through some examples...

Read more »