mangodb<-mongo.create()
This my r
code. When I'm creating a connection, it raises the following error:
Unable to connect to 127.0.0.1:27017, error code = 2.
That means that mongodb
isn't listening on its default port (27017). Did you start mongodb
? The R
package provides an interface to connect to mongodb
, but it's your (or the administrator) responsibility to start the mongodb
daemon.
The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.