ml.connect: Creates a connection to a MarkLogic REST instance.

Description Usage Arguments Value Examples

Description

The in order to use a database with rfml there needs to be a REST instance for that database with a module database. The REST instance needs to be created according to Creating a REST instance.

Usage

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

Arguments

host

Hostname or ip-adress of the MarkLogic REST instance. Default to localhost.

port

Port number of the MarkLogic REST instance. 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)

mstellwa/rfml documentation built on May 23, 2019, 8:16 a.m.