Learn R Programming

h2o (version 3.44.0.3)

H2OConnection-class: The H2OConnection class.

Description

This class represents a connection to an H2O cluster.

Usage

# S4 method for H2OConnection
show(object)

Arguments

object

an H2OConnection object.

Slots

ip

A character string specifying the IP address of the H2O cluster.

port

A numeric value specifying the port number of the H2O cluster.

name

A character value specifying the name of the H2O cluster.

proxy

A character specifying the proxy path of the H2O cluster.

https

Set this to TRUE to use https instead of http.

cacert

Path to a CA bundle file with root and intermediate certificates of trusted CAs.

insecure

Set this to TRUE to disable SSL certificate checking.

username

Username to login with.

password

Password to login with.

use_spnego

Set this to TRUE to use SPNEGO authentication.

cookies

Cookies to add to request

context_path

Context path which is appended to H2O server location.

mutable

An H2OConnectionMutableState object to hold the mutable state for the H2O connection.

Details

Because H2O is not a master-slave architecture, there is no restriction on which H2O node is used to establish the connection between R (the client) and H2O (the server).

A new H2O connection is established via the h2o.init() function, which takes as parameters the `ip` and `port` of the machine running an instance to connect with. The default behavior is to connect with a local instance of H2O at port 54321, or to boot a new local instance if one is not found at port 54321.