h2o-3
h2o-3 copied to clipboard
as.h2o often kills RStudio session
H2O version, Operating System and Environment
H2O version: 3.44.0.3 (latest on CRAN) OS version: Windows 11 Enterprise R version: 4.0.1 RStudio version: 2024.04.2 Java version: 1.8.0_411 data.table version: 1.15.4
Actual behavior
I've recently experienced a very frustrating issue with the 'as.h2o' function. When this function is called, the R session frequently but not always aborts. The code worked flawlessly earlier on the same data set, and I've never experienced any issues like this with H2O before. Below is a screenshot of the error message.
I have R version 4.0.1, RStudio version 2024.04.2, and Java version 1.8.0_411. All packages are updated, the version of data.table is 1.15.4. However, the available CRAN version of H2O is rather old; I have version 3.44.0.3. I tried to download the latest stable version but couldn’t get it to work, as it would not initialize any cluster due to an accessibility error in ‘file(con, ‘r’)’. I checked all access rights to the temp file; all seemed in order. I tried to run the script in Admin mode and tried to set a new Temp file from within R, yet to no avail; the cluster wouldn’t initiate.
Workaround
Turning off data.table support seems to help:
options(h2o.use.data.table=FALSE)