H2O is a client / server architecture. (See http://docs.h2o.ai/h2o/latest-stable/h2o-docs/architecture.html )
So, you showed a very inefficient way to specify an H2O frame in H2O memory. Each entry will turn into a network call. You almost certainly don't want this.
In your example, since the data is small, it would be wise to make the initial assignment in the local data frame (or datatable), and then use the as.h2o () push method.
h2o_frame = as.h2o(matrix1)
head(h2o_frame)
R- R- H2O H2O. ( as.data.table(), .)
data.table :
data.table in-place: =. . , :
matrix1[i, 3 := 42]
H2O :
H2O - pull h2o.importFile(). .
as.h2o() , .
R H2O, h2o.startLogging().