You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Erin LeDell commented: [~accountid:5dc4f5bbb6e6b50c58af0624] This does look like a bug (the {{titanic}} H2OFrame should be retained).
However, just in case it’s not clear, using {{h2o.removeAll()}} should only remove the H2OFrames on the backend. The corresponding R objects, {{titanic}} and {{titanic2}} still exist but they only contain metadata and you can’t actually get the H2OFrames back (so that works as expected).
Michal Kurka commented: Erin’s assessment seems correct to me, the main issue is that the “retained_elements” parameter is not propagated to the backend.
{noformat}titanic <- h2o.importFile("https://s3.amazonaws.com/h2o-public-test-data/smalldata/gbm_test/titanic.csv")
titanic2 <- h2o.importFile("https://s3.amazonaws.com/h2o-public-test-data/smalldata/gbm_test/titanic.csv")
h2o.ls(){noformat}
{quote}A data.frame: 2 × 1
key
titanic.hex_sid_82b9_70
titanic.hex_sid_82b9_71{quote}
{noformat}h2o.removeAll(retained_elements = c(h2o.keyof(titanic)))
h2o.ls(){noformat}
{quote}A data.frame: 0 × 1
key
{quote}
^no keys listed. Sounds like they are all removed and none were retained.
However, {{titanic}} and {{titanic2}} are still accessible.
The text was updated successfully, but these errors were encountered: