Usage
h2o.init(ip = "localhost", port = 54321, startH2O = TRUE,
forceDL = FALSE, enable_assertions = TRUE, license = NULL,
nthreads = -2, max_mem_size = NULL, min_mem_size = NULL,
ice_root = tempdir(), strict_version_check = TRUE,
proxy = NA_character_, https = FALSE, insecure = FALSE,
username = NA_character_, password = NA_character_)
Arguments
ip
Object of class character
representing the IP address of the server where H2O is running.
port
Object of class numeric
representing the port number of the H2O server.
startH2O
(Optional) A logical
value indicating whether to try to start H2O from R if no connection with H2O is detected. This is only possible if ip = "localhost"
or ip = "127.0.0.1"
. If an existing connection is detected, R
forceDL
(Optional) A logical
value indicating whether to force download of the H2O executable. Defaults to FALSE, so the executable will only be downloaded if it does not already exist in the h2o R library resources directory h2o/java/h2o.jar
enable_assertions
(Optional) A logical
value indicating whether H2O should be launched with assertions enabled. Used mainly for error checking and debugging purposes. This value is only used when R starts H2O.
license
(Optional) A character
string value specifying the full path of the license file. This value is only used when R starts H2O.
nthreads
(Optional) Number of threads in the thread pool. This relates very closely to the number of CPUs used. -2 means use the CRAN default of 2 CPUs. -1 means use all CPUs on the host. A positive integer specifies the number of CPUs directly. This value is
max_mem_size
(Optional) A character
string specifying the maximum size, in bytes, of the memory allocation pool to H2O. This value must a multiple of 1024 greater than 2MB. Append the letter m or M to indicate megabytes, or g or G to indicate gigabytes.
min_mem_size
(Optional) A character
string specifying the minimum size, in bytes, of the memory allocation pool to H2O. This value must a multiple of 1024 greater than 2MB. Append the letter m or M to indicate megabytes, or g or G to indicate gigabytes.
ice_root
(Optional) A directory to handle object spillage. The defaul varies by OS.
strict_version_check
(Optional) Setting this to FALSE is unsupported and should only be done when advised by technical support.
proxy
(Optional) A character
string specifying the proxy path.
https
(Optional) Set this to TRUE to use https instead of http.
insecure
(Optional) Set this to TRUE to disable SSL certificate checking.
username
(Optional) Username to login with.
password
(Optional) Password to login with.