Conexión de R a MongoDB
A través del paquete mongolite, aquí tenéis un Tutorial
install.packages("mongolite")
library(mongolite)
# Connect to a local MongoDB
my_collection = mongo(collection = "restaurants", db = "Restaurants") # create connection, database and collection
my_collection$count