I am trying to connect with the MongoDB database and also insert the model output data frame. The Database has showing connect but not showing all collection. Given an error authentication.
Please share any suggestions. Also, please check my code to connecting database.
#install_github("Rmongo" , "tc")
connect to database
mongo <- mongoDbConnect("xxxxxx",host = " xxxxxx", port = 27017) # db name
auth <- dbAuthenticate(mongo,"username","password")
#show the collections
ListofTable <- dbShowCollections(mongo)