Learn R Programming

h2o (version 2.8.4.4)

h2o.setLogPath: Set Path Where H2O R Logs are Saved

Description

Set the file path where H2O R command and error response logs are currently being saved.

Usage

h2o.setLogPath(path, type)

Arguments

path
A character string indicating the new file path where logs should be saved.
type
Which log file's path to modify. 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.openLog, h2o.getLogPath

Examples

Run this code
library(h2o)
h2o.getLogPath("Command")
h2o.setLogPath(getwd(), "Command")
h2o.getLogPath("Command")

Run the code above in your browser using DataLab