startGraph: Connect to the Database

Description Usage Arguments Value Examples

View source: R/startGraph.R

Description

Establish a connection to Neo4j.

Usage

1
2
startGraph(url, username = character(), password = character(),
  opts = list())

Arguments

url

A character string.

username

A character string. If authentication is enabled, your username.

password

A character string. If authentication is enabled, your password.

opts

A named list. Optional HTTP settings.

Value

A graph object.

Examples

 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
## Not run: 
graph = startGraph("http://localhost:7474/db/data/")

graph = startGraph("http://localhost:7474/db/data/",
                   username = "neo4j",
                   password = "password")

graph = startGraph("http://localhost:7474/db/data/",
                   opts = list(timeout=3))

## End(Not run)

RNeo4j documentation built on May 29, 2017, 4:01 p.m.