Creates a connection to a MarkLogic REST server.

Share:

Description

Creates a connection to a MarkLogic REST server.

Usage

1
2
ml.connect(host = "localhost", port = "8000", username = "admin",
  password = "admin")

Arguments

host

Hostname or ip-adress of the MarkLogic http server. Default to localhost.

port

Port number of the MarkLogic http server. 8000 is used default

username

Username. admin is default.

password

Password admin is default.

Value

A ml.conn object.

Examples

1
2
3
4
5
## Not run: 
library(rfml)
locConn <- ml.connect("localhost","8000", "admin", "admin")

## End(Not run)

Want to suggest features or report bugs for rdrr.io? Use the GitHub issue tracker.