Open fxjollois opened 8 years ago
I'm afraid this is not possible with current version of rmongodb
and underlying C drivers. As far as I know issue is related to "wired tiger" engine which is default engine from mongodb 3.0. When I was an active user of mongodb I also had such issues with robomongo IDE. (fortunately know it maintained better than 1 year ago).
And I suggest to try mongolite package which is much more actively maintained.
Thanks for your answer.
I have exactly the same issue. My R version is 3.2.2 and MongoDB 3.2.4.
By the way, just found a workaround: mongo.command(mongo = con, db = "test", command = list(listCollections=1))
Thanks a lot !
@chrisd31 thanks for sharing. Can you open PR with this workaround?
Hi,
the function
mongo.get.database.collections
returns an empty character vector, even if the database has one or more collections. I use R 3.2.3, and the latest version ofRmongodb
.Here is the R code:
And when I test on mongo shell:
I see that other users encounter the same issues, but I do not see any way to get the collections list.
FX Jollois