Publications by Jeroen Ooms
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 objec...
2018 sym R (1333 sym/8 pcs) 2 img
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 Ja...
1335 sym R (735 sym/1 pcs) 2 img
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() [1] "R" "--no-save" "--no-restore-data" "--gui=aqua" Mi...
2038 sym R (298 sym/3 pcs) 2 img
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 be u...
2725 sym R (1050 sym/8 pcs) 2 img
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 library. An example template Below ...
1490 sym R (1574 sym/5 pcs) 2 img
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 big thanks to epoch...
2975 sym R (141 sym/2 pcs) 2 img
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 to its website, C...
2303 sym R (279 sym/3 pcs) 2 img
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 upgrade your OpenCPU server: sudo apt-get update sudo apt-get dist-upgrade If you are running OpenCPU in pr...
1153 sym R (46 sym/1 pcs) 2 img
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 make the t...
2110 sym R (446 sym/3 pcs) 2 img
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 json...
1953 sym R (1196 sym/4 pcs) 2 img