R driver for MongoDB
C R Other
Switch branches/tags
Nothing to show
Pull request Compare This branch is 3 commits ahead, 13 commits behind gerald-lindsly:master.
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
rmongodb
.gitignore
COPYRIGHT.txt
LICENSE.txt
README.md
build.bat
build.sh
check.bat
check.sh
install.bat
install.sh
mongo-c-driver-src.zip
rmongodb.pdf
test.R
test.bat
test.sh

README.md

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/

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/rmongodb/src is an archived copy of mongo-c-driver (mongo-c-driver-src.zip) that you can unpack there. Since this is the version of the mongo-c-driver (v0.4.1) 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