Blog Archives

Secure password hashing in R with bcrypt

June 18, 2015
By
Secure 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 the py-bcrypt module for Python which is a wrapper for the OpenBSD implementation. Bcrypt is used for secure password hashing....

Read more »

HTTPS for CRAN: how and why

June 13, 2015
By
HTTPS for CRAN: how and why

R gained some basic support for https in version 3.2.0 (see NEWS) via the method = "libcurl" argument in base functions download.file and url. The global option download.file.method is used to make this the default. Unfortunately the implementation has a few limitations: there is no way to set request options (authentication, proxy,...

Read more »

The curl package: a modern R interface to libcurl

June 8, 2015
By
The 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 outstanding bug for Solaris. The package is pretty much...

Read more »

New package commonmark: yet another markdown parser?

June 2, 2015
By
New 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 reference implementation of CommonMark, a rationalized version of Markdown syntax with a spec. It provides a shared library...

Read more »

Getting started with MongoDB in R

May 14, 2015
By
Getting 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 small or large data as easy as converting it ...

Read more »

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 »