R client to interface with MongoDB