get R to connect to h2o