I recently created RMongo, a database access layer to MongoDB in R as an R package.
To install RMongo, download it from https://github.com/quid/RMongo/downloads
R CMD install RMongo_0.0.17.tar.gz
I tried to mimic the RMySQL commands in RMongo. Below are some example commands.
#ask for help
#connect to a database
RMongo is very alpha at this point. I built it as a quick way to prototype algorithms with data from mongoDB in R. Most of RMongo uses the mongo-java-driver to perform json-formatted queries. The R code in the package uses rJava to communicate with the mongo-java-driver.
Please report any bugs or necessary improvements. Or better yet, send in pull requests via the RMongo github project page!