Error with H2O in R - can't connect to local host

后端 未结 2 1725
野的像风
野的像风 2020-12-11 03:48

I can\'t get the h2o to work in my R. It shows the following error. Have no clue what it means. Previously it gave me an error because I didn\'t have Java 64 bit version. I

相关标签:
2条回答
  • 2020-12-11 04:38

    So if anyone else is facing the same issue.

    My recommendation (after spending about over 10 hours trying to figure this out (worth mentioning)) is check your version of java.

    If it's higher than 8 then either keep it remove it.

    I removed it because I didn't want to deal with setting the JAVA Home function in R and to reduce work.

    Make sure you install Java 7 or 8 but a 64 bit version. h2o doesn't work if you have 32 bit.

    Then voila! Just go ahead and type install.package('h2o') in your rstudio.

    I wanted to be extra careful in my final attempt of this so unloaded and uninstalled the library because I had installed it before and then installed it again and then loaded it using library(h2o) and then h20.init() worked just fine.

    0 讨论(0)
  • 2020-12-11 04:47

    Based on the error message and the troubleshooting we carried out in the comments, it seems that you are using a version of Java (Java 1.9) which is too new for your version of H2O.

    Your 2 options seem to be:

    1. Verify that your version of H2O is up to date. If not, update it.
    2. Download a compatible version of Java, i.e. Java 1.8 (you can just use it for this 1 task rather than for everything, if you prefer)

    Note that on the main documentation page of H2O v3 it says:

    Java 7 or later. Note: Java 9 is not yet released and is not currently supported.

    But at the same time they usually have several Beta and Alpha development branches going, so you might find one of those that works with Java 9.

    0 讨论(0)
提交回复
热议问题