R: ifelse broken

Description

> library(h2o)
> h <- h2o.init(ip = )
Successfully connected to http://127.0.0.1:54321

R is connected to H2O cluster:
H2O cluster uptime: 1 hours 14 minutes
H2O cluster version: 2.9.0.99999
H2O cluster name: H2O_started_from_R
H2O cluster total nodes: 1
H2O cluster total memory: 3.68 GB
H2O cluster total cores: 8
H2O cluster allowed cores: 8
H2O cluster healthy: TRUE

> heart.hex <- as.h2o(h, object = heart)

=====================================================================================================================================================

100%
> ifelse(heart.hex$surgery == 0, "N", "Y")
Error in as.logical(from) :

cannot coerce type 'S4' to vector of type 'logical'

Activity

Show:
Spencer Aiello
May 4, 2015, 11:54 PM

never intended for this to work in h2o1... hence the rewrite in h2o-dev...

Fixed
Your pinned fields
Click on the next to a field label to start pinning.

Assignee

Spencer Aiello

Reporter

Amy Wang

CustomerVisible

No