Usage
h2o.init(ip = "127.0.0.1", port = 54321, startH2O = TRUE, forceDL = FALSE, Xmx,
beta = FALSE, assertion = TRUE, license = NULL,
nthreads = -2, max_mem_size, min_mem_size,
ice_root = NULL, strict_version_check = TRUE, data_max_factor_levels = 1000000,
many_cols = FALSE, chunk_bytes = 22)
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 does not sta
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
. This
Xmx
DEPRECATED A 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. This value is only used
beta
(Optional) A logical value indicating whether H2O should be launch in beta mode. This value is only used when R starts H2O.
assertion
(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 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 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. This value is only used
min_mem_size
(Optional) A 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. This value is only used
ice_root
(Optional) A directory specifying where H2O should write log files and spill to disk (if needed). Default is tempdir(). This value is only used when R starts H2O.
strict_version_check
(Optional) Setting this to FALSE is unsupported and should only be done when advised by technical support.
data_max_factor_levels
(Optional) The limit for the number of factor levels that may appear in a single column. Default is 1,000,000.
many_cols
(Optional) Enables improved handling of high-dimensional datasets. Same as -chunk_bytes 24.
chunk_bytes
(Optional) Not in combination with -many_cols. The log (base 2) of chunk size in bytes. (The default is 22, which leads to a chunk size of 4.0 MB.).