I'm trying to establish a connection to MongoDB Atlas using a serverless service using the "mongolite" package, having openssl previously installed. When trying to connect to the server I receive :
Error: URI option "loadBalanced" prohibited in TXT record
I use the following code to try accessing the database.
library(mongolite) connection_string = "mongodb+srv://<usr>:<pwd>@<cluster>.tyfej.mongodb.net/<myDatabase>" mongo_db <- mongo(collection="Sample", db="myDatabase", url=connection_string)```
Thanks for your help!