Getting started with MongoDB in R

May 14, 2015

(This article was first published on OpenCPU, and kindly contributed to R-bloggers)

opencpu logo

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 to/from JSON. The package vignette has some examples to get you started with inserting, json queries, aggregation and map-reduce. MongoDB itself is open source and installation is easy (e.g. brew install mongodb).

If you use, or (think) you might want to use MongoDB with R, please get in touch. I am interested to hear your about your problems and use cases to make this package fit everyones needs. I will also be presenting this and related work at UseR 2015 and the annual French R Meeting.

To leave a comment for the author, please follow the link and comment on their blog: OpenCPU. offers daily e-mail updates about R news and tutorials on topics such as: Data science, Big Data, R jobs, visualization (ggplot2, Boxplots, maps, animation), programming (RStudio, Sweave, LaTeX, SQL, Eclipse, git, hadoop, Web Scraping) statistics (regression, PCA, time series, trading) and more...

If you got this far, why not subscribe for updates from the site? Choose your flavor: e-mail, twitter, RSS, or facebook...

Comments are closed.

Search R-bloggers


Never miss an update!
Subscribe to R-bloggers to receive
e-mails with the latest R posts.
(You will not see this message again.)

Click here to close (This popup will not appear again)