Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

docs corrected

  • Loading branch information...
commit 65bac938954b83c7fecc2ec251631aee50d6a2c8 1 parent 7de9590
@tc authored
Showing with 3 additions and 3 deletions.
  1. +3 −3 man/mongoDbConnect.Rd
View
6 man/mongoDbConnect.Rd
@@ -8,15 +8,15 @@ Creates a RMongo object to use with querying and inserting methods.
}
\usage{
-mongoDbConnect(dbName, host="localhost", port=27017)
+mongoDbConnect(dbName, host="127.0.0.1", port=27017)
}
\arguments{
\item{dbName}{Database name.}
- \item{host}{ Host name. Default to localhost. You can specify a remote host. {optional}}
+ \item{host}{ Host name. Default to localhost: 127.0.0.1. You can specify a remote host. {optional}}
\item{port}{ Port number. Default to mongodb's default port 27017. {optional}}
}
\examples{
- mongo <- mongoDbConnect("test", "localhost", 27017)
+ mongo <- mongoDbConnect("test", "127.0.0.1", 27017)
}
Please sign in to comment.
Something went wrong with that request. Please try again.