R driver for MongoDB
C R C++
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Failed to load latest commit information.
.gitignore ignore env.c Dec 22, 2012
COPYRIGHT.txt License info added Jan 3, 2012
LICENSE.txt CRAN fixes Mar 6, 2012
check.bat Driver Sync Mar 5, 2012
mongo-c-driver-src.zip upgrade to mongo-c-driver 0.7 Dec 22, 2012
test.bat moved test code out of onLoad() Aug 6, 2011


This is an R extension supporting access to MongoDB.

After cloning the repo, drop mongo-c-driver's src directory into rmongodb/rmongodb/src. Alternately, unpack mongo-c-driver-src.zip into rmongodb/rmongodb/src.

The driver is installed into R with:

R CMD INSTALL rmongodb

If you have compile problems, this may be due to interface changes to mongo-c-driver.
In rmongodb/ is an archived copy of mongo-c-driver (mongo-c-driver-src.zip) that you can unpack to .../src . Since this is the version of the mongo-c-driver used in the development of rmongodb, you may have better results.

Once you have installed the package, it may be loaded from within R like any other:

>library("rmongodb") # for instance

To run the unit tests:

R --no-save < test.R