tc / RMongo

R client to interface with MongoDB
102 stars 34 forks source link

dbShowCollections not working with remote server #31

Closed vrajs5 closed 9 years ago

vrajs5 commented 9 years ago

Hi

I am trying to fetch collection names from Mongo server using dbShowCollections, which is working for local mongodb server. But when I am trying to fetch it for remote one, dbShowCollections is returning blank string. Other queries are working well.

Required package information

R version 3.1.2 (2014-10-31)
Platform: x86_64-pc-linux-gnu (64-bit)
other attached packages:
[1] RMongo_0.0.25 rJava_0.9-6

Also at both end I am using MongoDB 3.0 with wiredTiger engine and zlib compression.

I checked with Python - pymongo, I am getting collection names there for remote as well as local server.

stennie commented 9 years ago

@vrajs5 For full WiredTiger / MongoDB 3.0 compatibility you need to be using the 2.13 or newer version of the Java driver (see: MongoDB Version Compatibility). RMongo currently specifies 2.12.2 as a dependency.

Upgrading the Java driver should resolve your issue listing collections in WiredTiger.

tc commented 9 years ago

Thanks @stennie I just updated the package to specify 2.13.0 which should support MongoDB 3.0.

@vrajs5 you can build the package from the master branch and install it directly or wait until CRAN approves the package. It will be RMongo version 0.1.0.

theroys commented 8 years ago

What is the timeframe for approval by CRAN

tc commented 8 years ago

@theroys we need someone to volunteer to re-submit it to CRAN. They rejected it due to some directory structure changes last time which i think of the pull requests fixed.

stennie commented 8 years ago

@tc I can volunteer, but doesn't the CRAN submission have to come from an approved maintainer email?

tc commented 8 years ago

CRAN has a web submission form now.