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.
I would highly recommend using mongolite instead of Rmongo. I've never used Rmongo, but it has been archived, so it's safe to assume that it is no longer actively maintained. mongolite, on the other hand, has decent documentation - https://jeroen.github.io/mongolite/ and it is being updated on the regular.
When I had to use mongoDB, I don't remember mongolite giving me any major troubles.