Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
找不到这方面的文档。Python 没有问题,但我在 rmongodb 库中看不到 ssl 选项。
> mongo <- mongo.create("xx.xx.xx.xx", name = "someuser", password = "thepassword", db = "admin") Unable to connect to replset
是否有任何替代库支持 ssl 以将 R 连接到 mongodb?rmongodb 会这样做,但我错过了什么吗?
似乎错误是由于错误地编写了函数参数。再看一下帮助文件就行?mongo.create了。
?mongo.create
# Being explicit mongo <- mongo.create("xx.xx.xx.xx", name='', username = "someuser", password = "thepassword", db = "admin")
现在你应该得到另一种类型的错误或者它有效。