Learn R Programming

h2o (version 2.8.4.4)

h2o.openLog: View H2O R Logs

Description

Open existing logs of H2O R POST commands and error responses on local disk. Used primarily for debugging purposes.

Usage

h2o.openLog(type)

Arguments

type
Which log file to open. Either "Command" for POST commands sent between R and H2O, or "Error" for errors returned by H2O in the HTTP response.

See Also

h2o.startLogging, h2o.stopLogging, h2o.clearLogs, h2o.getLogPath, h2o.setLogPath

Examples

Run this code
# Skip running this to avoid windows being opened during R CMD check
library(h2o)
localH2O = h2o.init()

h2o.startLogging()
ausPath = system.file("extdata", "australia.csv", package="h2o")
australia.hex = h2o.importFile(localH2O, path = ausPath)
h2o.stopLogging()

h2o.openLog("Command")
h2o.openLog("Error")

Run the code above in your browser using DataLab