When using rmongodb, unable to see collections in mongoDB

后端 未结 2 677
夕颜
夕颜 2020-12-11 13:09

I am having the same issue as in this thread:Unable to see collections in mongo DB when connected through R

I am successfully connected to mongoDB.

&         


        
2条回答
  •  难免孤独
    2020-12-11 13:51

    Update 2017-09-25

    rmongodb is no longer supported and removed from CRAN

    Reference: https://github.com/dselivanov/rmongodb


    This function is working correctly for me in v1.8.0:

    mongo <- mongo.create()
    mongo.is.connected(mongo)
    # [1] TRUE
    db <- "test"
    mongo.get.database.collections(mongo, db = db)
    [1] "test.test"
    

提交回复
热议问题