Learn R Programming

h2o (version 3.40.0.4)

h2o.shutdown: Shut Down H2O Instance

Description

Shut down the specified instance. All data will be lost.

Usage

h2o.shutdown(prompt = TRUE)

Arguments

prompt

A logical value indicating whether to prompt the user before shutting down the H2O server.

WARNING

All data, models, and other values stored on the server will be lost! Only call this function if you and all other clients connected to the H2O server are finished and have saved your work.

Details

This method checks if H2O is running at the specified IP address and port, and if it is, shuts down that H2O instance.

See Also

h2o.init

Examples

Run this code
# Don't run automatically to prevent accidentally shutting down a cluster
if (FALSE) {
library(h2o)
h2o.init()
h2o.shutdown()
}

Run the code above in your browser using DataLab