CRAN release jsonlite 0.9.10 (RC)
The jsonlite package is a JSON parser/generator optimized for the web. It implements a bidirectional mapping between JSON data and the most important R data types. This is very powerful for...
View ArticleNew in OpenCPU 1.4.4: session namespaces
The OpenCPU system exposes an HTTP API for embedded scientific computing with R. This provides reliable and scalable foundations for integrating R based analysis and visualization modules into...
View ArticleNew jsonlite gets a major speed boost!
The jsonlite package is a JSON parser/generator optimized for the web. It implements a bidirectional mapping between JSON data and the most important R data types, which allows for converting objects...
View Articlejsonlite 0.9.12: now even lighter and faster
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.12 appeared on CRAN which includes a...
View ArticleGenerating secure random numbers with openssl
I started working on a new R package with bindings for OpenSSL. The initial release is now available from CRAN. To install the package on Linux you need libssl-dev (Debian/Ubuntu) or openssl-devel...
View Articlejsonlite 0.9.13: high performance number formatting
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.13 appeared on CRAN which is the third...
View ArticleParsing multipart/form-data with webutils
As part of a larger effort to clean up and rewrite the opencpu package, some of the more general utilities will be moved into a new, separate package called webutils. The first release of webutils is...
View ArticleHigh 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...
View ArticleOpenCPU 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...
View ArticleNew 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...
View ArticleNew 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...
View ArticleIntroducing 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...
View ArticleInteractive 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...
View ArticleOpenCPU 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...
View ArticleNew 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...
View Articlecurl 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...
View ArticleV8 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...
View ArticleV8 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...
View ArticleMinimist: 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...
View ArticleIntroducing 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, reformatting, optimizing and analyzing JavaScript code. It builds...
View ArticleJade: 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 fashioned XML-like tags that we...
View ArticleRMySQL 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...
View ArticleCompiling 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...
View ArticleOpenCPU 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,...
View ArticleImproved 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...
View ArticleJSON 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...
View ArticleUpcoming 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...
View ArticleGetting started with MongoDB in R
The first stable version of the new mongolite package has appeared on CRAN. Mongolite builds on jsonlite to provide a simple, high-performance MongoDB client for R, which makes storing and accessing...
View ArticleNew package commonmark: yet another markdown parser?
Last week the commonmark package was released on CRAN. The package implements some very thin R bindings to John Macfarlane’s (author of pandoc) cmark library. From the cmark readme: cmark is the C...
View ArticleThe curl package: a modern R interface to libcurl
TL;DR: Check out the vignette or the development version of httr. The package I put most time and effort in this year is curl. Last week version 0.8 was published on CRAN which fixes the last...
View ArticleHTTPS for CRAN: how and why
Correction (June 18): An earlier version of this post stated that currently no CRAN mirrors support https. Martin has pointed out that this is incorrect. As of writing, 7 of the official CRAN mirrors...
View ArticleSecure password hashing in R with bcrypt
The new package bcrypt provides an R interface to the OpenBSD ‘blowfish’ password hashing algorithm described in A Future-Adaptable Password Scheme by Niels Provos. The implementation is derived from...
View ArticleOpenCPU release 1.5
Following a few weeks of testing, OpenCPU 1.5 has been released. OpenCPU is a production-ready framework for embedded statistical computing with R. The system provides a neat API for remotely calling...
View ArticleMongolite 0.5: authentication and iterators
A new version of the mongolite package has appeared on CRAN. Mongolite builds on jsonlite to provide a simple, high-performance MongoDB client for R, which makes storing small or large data in a...
View ArticleCurl 0.9.2: tweaks and proxies for windows
Version 0.9.2 of curl has been released to CRAN. The curl package implements a modern and flexible web client for R and is the foundation for the popular httr package. This update includes mostly...
View ArticleSodium: A Modern and Easy-to-Use Crypto Library
This week a new package called sodium was released on CRAN. This package implements bindings to libsodium: a modern, easy-to-use software library for encryption, decryption, signatures, password...
View ArticleCompression Benchmarks: brotli, gzip, xz, bz2
Brotli is a new compression algorithm optimized for the web, in particular small text documents. Brotli decompression is at least as fast as for gzip while significantly improving the compression...
View ArticleThe 'rsvg' Package: High Quality Image Rendering in R
The new rsvg package renders (vector based) SVG images into high-quality bitmap arrays. The resulting image is an array of 3 dimensions: height * width * 4 (RGBA) and can be written to png, jpeg or...
View ArticleUsing webp in R: A New Format for Lossless and Lossy Image Compression
A while ago I blogged about brotli, a new general purpose compression algorithm promoted by Google as an alternative to gzip. The same company also happens to be working on a new format for images...
View ArticleNew in V8: Calling R, from JavaScript, from R, from Javascript...
The V8 package provides an R interface to Google’s open source JavaScript engine. The package is completely self contained and requires no runtime dependencies, making it very easy to execute...
View ArticleCommonmark: Super Fast Markdown Rendering in R
A few months ago I first announced the commonmark R package. Since then there have been a few more releases… time for an update! What is CommonMark? Markdown is used in many places these days, however...
View ArticleOpenCPU Server Release 1.5.4
Version 1.5.4 of the OpenCPU server has been released to Launchpad (Ubuntu) and OBS (Fedora). This update does not introduce any changes to the OpenCPU API itself; it improves to the deb/rpm...
View ArticleHunspell: Spell Checker and Text Parser for R
Hunspell is the spell checker library used in LibreOffice, OpenOffice, Mozilla Firefox, Google Chrome, Mac OS X, InDesign, and a few more. Base R has some spell checking functionality via the aspell...
View ArticleStemming and Spell Checking in R
Last week we introduced the new hunspell R package. This week a new version was released which adds support for additional languages and text analysis features. Additional languages By default...
View ArticleFaster arrays and matrices in jsonlite 0.9.20
Yesterday a new version of the jsonlite package was released to CRAN. This update includes no new features, it only introduces performance optimizations. Large Matrices The jsonlite package was...
View ArticleOpenCPU release 1.6
Following a few weeks of testing, OpenCPU 1.6 has been released. OpenCPU is a production-ready system for embedded statistical computing with R. It provides a neat API for remotely calling R functions...
View ArticleNew in jsonlite 0.9.22: distinguish between double and integer
Today a new version of the jsonlite package was released to CRAN. This update includes a few internal enhancements and one new feature. Doubles vs integers The new always_decimal parameter forces...
View ArticleAnnouncing OpenCPU 2.0: Building and Deploying Scalable R Apps and Services
OpenCPU 2.0 provides the most robust system available today for building and deploying R based apps and services. The server exposes a simple HTTP API for calling with R functions, scripts and...
View ArticleWhy Use Docker with R? A DevOps Perspective
There have been several blog posts going around about why one would use Docker with R. In this post I’ll try to add a DevOps point of view and explain how containerizing R is used in the context of...
View ArticleOpenCPU 2.1 Release: Scalable R Services
OpenCPU provides a mature and robust system for hosting R based services. The server exposes a simple HTTP API for calling R functions, scripts and managing data. The Cloud Server is completely free...
View Article