Fast and Simple 'MongoDB' Client for R

High-performance 'MongoDB' client based on 'libmongoc' and 'jsonlite'. Includes support for aggregation, indexing, map-reduce, streaming, encryption, enterprise authentication. The online user manual provides an overview of the available methods in the package: < https://jeroen.github.io/mongolite/>.


News

0.9.1

  • Add 'ssl_options()' funtion and 'options' parameter for SSL connections

0.9.0

  • Update mongo-c-driver to 1.4.1 (Still use OpenSSL on all platforms)
  • Fix configure script for new Homebrew
  • BREAKING: ObjectID fields are now returned as strings instead of raw vectors
  • Use new 'always_decimal' option in jsonlite to keep real numbers as doubles
  • Make 'mongo' objects serializable (persistent between R sessions)
  • New function 'mongo_log_level' to set debugging verbosity
  • Add 'list' and 'json' support for m$insert()
  • Add option to disable query timeout for count(), find(), aggregate()
  • Disable DBSON_EXTRA_ALIGN when UBSAN is enabled

0.8.1

  • Update mongo-c-driver to 1.3.4

0.8

  • Update mongo-c-driver to 1.3.1
  • Fix for snow leopard (no strnlen)

0.7

  • Added mongolabs example that runs with R CMD check
  • Update mongo-c-driver to 1.3.0
  • Link to OpenSSL 1.0.2d on Windows
  • Backport workaround GNU extension in mongoc-util-private.h:34
  • Link to brew openssl 1.0.2 on OSX instead of native 0.9.8

0.6

  • Update mongo-c-driver to db120a3526
  • Workaround GNU extension in mongoc-util-private.h:34
  • Fix for m$export() on windows (UTF8 related)
  • Fix for setInternet2 in R 3.3.0 on Windows

0.5

  • Update mongo-c-driver and libbson to 1.1.10
  • New method 'iterate' to retrieve records without simplification
  • POSIXt timestamps and raw vectors are inserted as native types
  • Fix for authentication to database specified in the 'url'

0.4:

  • Add support for export() and import()
  • Update mongo-c-driver and libbson to 1.1.7
  • Make 'verbose' parameter global

0.3

  • Update mongo-c-driver and libbson to 1.1.5
  • Add support for map-reduce

0.2

  • Initial release

Reference manual

It appears you don't have a PDF plugin for this browser. You can click here to download the reference manual.

install.packages("mongolite")

1.2 by Jeroen Ooms, 2 months ago


https://github.com/jeroen/mongolite/ (devel) https://jeroen.github.io/mongolite/ (user manual) http://mongoc.org/ (upstream)


Report a bug at https://github.com/jeroen/mongolite/issues


Browse source code at https://github.com/cran/mongolite


Authors: Jeroen Ooms [aut, cre], MongoDB, Inc [cph] (Author of mongo-c-driver)


Documentation:   PDF Manual  


Apache License 2.0 license


Imports jsonlite, openssl

System requirements: OpenSSL, Cyrus SASL (aka libsasl2)


See at CRAN