Permalink
Browse files

docs corrected

  • Loading branch information...
1 parent 7de9590 commit 65bac938954b83c7fecc2ec251631aee50d6a2c8 @tc committed Apr 22, 2011
Showing with 3 additions and 3 deletions.
  1. +3 −3 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)
}

0 comments on commit 65bac93

Please sign in to comment.