Usage
h2o.uploadFile(object, path, key = "", parse = TRUE, header,
sep = "", col.names, silent = TRUE, parser_type="AUTO")
Arguments
object
An H2OClient
object containing the IP address and port of the server running H2O.
path
The complete URL or normalized file path of the file to be imported. Each row of data appears as one line of the file.
key
(Optional) The unique hex key assigned to the imported file. If none is given, a key will automatically be generated based on the URL path.
parse
(Optional) A logical value indicating whether the file should be parsed after import.
header
(Optional) A logical value indicating whether the first line of the file contains column headers. If left empty, the parser will try to automatically detect this.
sep
(Optional) The field separator character. Values on each line of the file are separated by this character. If sep = ""
, the parser will automatically detect the separator.
col.names
(Optional) A H2OParsedData
object containing a single delimited line with the column names for the file.
silent
(Optional) A logical value indicating whether or not to display an upload progress bar.
parser_type
(Optional) Specify the type of data to be parsed. parser_type = "AUTO" is the default, other acceptable values are "SVMLight", "XLS", and "CSV".