package ‘h2o’ is not available (for R version 3.2.1)

1,155 views
Skip to first unread message

Prashant Patel

unread,
Jul 15, 2015, 1:21:19 PM7/15/15
to h2os...@googlegroups.com

The pre-requisite is simply 2.13 or newer version of R, then why I am getting an error on executing the following command.

 install.packages("h2o", type="source", repos=(c("https://h2o-release.s3.amazonaws.com/h2o/rel-shannon/26/R")))

Here is the complete error message

R version 3.2.1 (2015-06-18) -- "World-Famous Astronaut"
Copyright (C) 2015 The R Foundation for Statistical Computing
Platform: x86_64-pc-linux-gnu (64-bit)

R
is free software and comes with ABSOLUTELY NO WARRANTY.
You are welcome to redistribute it under certain conditions.
Type 'license()' or 'licence()' for distribution details.

 
Natural language support but running in an English locale

R
is a collaborative project with many contributors.
Type 'contributors()' for more information and
'citation()' on how to cite R or R packages in publications.

Type 'demo()' for some demos, 'help()' for on-line help, or
'help.start()' for an HTML browser interface to help.
Type 'q()' to quit R.

>  install.packages("h2o", type="source", repos=(c("https://h2o-release.s3.amazonaws.com/h2o/rel-shannon/26/R")))
Installing package into ‘/home/prashant/R/x86_64-pc-linux-gnu-library/3.2
(as lib is unspecified)
Warning: unable to access index for repository https://h2o-release.s3.amazonaws.com/h2o/rel-shannon/26/R/src/contrib
Warning message:
package h2o is not available (for R version 3.2.1)



Please help!!


Thanks in advance.

- Prashant Patel

Tom Kraljevic

unread,
Jul 15, 2015, 1:45:03 PM7/15/15
to Prashant Patel, h2os...@googlegroups.com

Hi Prashant,


It works if you use http instead of https.
install.packages("h2o", type="source", repos=(c("http://h2o-release.s3.amazonaws.com/h2o/rel-shannon/26/R")))


I don’t believe R’s install.packages supports https (although I would be pleased to be proven wrong on that point by someone more knowledgable than me!).


Thanks,
Tom


--
You received this message because you are subscribed to the Google Groups "H2O Open Source Scalable Machine Learning - h2ostream" group.
To unsubscribe from this group and stop receiving emails from it, send an email to h2ostream+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Prashant Patel

unread,
Jul 15, 2015, 2:56:05 PM7/15/15
to h2os...@googlegroups.com, prasha...@gmail.com
Tom,

That was Perfect! Appreciate your help. Thanks a ton!

- Prashant

alain...@gmail.com

unread,
Nov 11, 2015, 7:25:29 PM11/11/15
to H2O Open Source Scalable Machine Learning - h2ostream
Hi I am on 3.2.2 and its not working for me. Any idea why?

> install.packages("h2o", type="source", repos=(c("http://h2o-release.s3.amazonaws.com/h2o/rel-shannon/26/R")))
Installing package into ‘C:/Users/aapril/Documents/R/win-library/3.2’
(as ‘lib’ is unspecified)
Warning: dependencies ‘statmod’, ‘RCurl’, ‘rjson’ are not available
trying URL 'http://h2o-release.s3.amazonaws.com/h2o/rel-shannon/26/R/src/contrib/h2o_3.0.0.26.tar.gz'
Content type 'application/x-tar; charset=binary' length 43882469 bytes (41.8 MB)
downloaded 41.8 MB

ERROR: dependencies 'statmod', 'RCurl', 'rjson' are not available for package 'h2o'
* removing 'C:/Users/aapril/Documents/R/win-library/3.2/h2o'

The downloaded source packages are in
‘C:\Users\aapril\AppData\Local\Temp\RtmpA5C4pR\downloaded_packages’
Warning messages:
1: running command '"C:/PROGRA~1/R/R-32~1.2/bin/x64/R" CMD INSTALL -l "C:\Users\aapril\Documents\R\win-library\3.2" C:\Users\aapril\AppData\Local\Temp\RtmpA5C4pR/downloaded_packages/h2o_3.0.0.26.tar.gz' had status 1
2: In install.packages("h2o", type = "source", repos = (c("http://h2o-release.s3.amazonaws.com/h2o/rel-shannon/26/R"))) :
installation of package ‘h2o’ had non-zero exit status

Tom Kraljevic

unread,
Nov 11, 2015, 10:44:18 PM11/11/15
to alain...@gmail.com, H2O Open Source Scalable Machine Learning - h2ostream

ERROR: dependencies 'statmod', 'RCurl', 'rjson' are not available for package 'h2o'
* removing 'C:/Users/aapril/Documents/R/win-library/3.2/h2o'


do

install.packages("RCurl")

and so forth.

that instruction is on the download page, but it looks like you skipped it...


Sent from my iPhone

Erin LeDell

unread,
Nov 12, 2015, 7:05:53 PM11/12/15
to Tom Kraljevic, alain...@gmail.com, H2O Open Source Scalable Machine Learning - h2ostream
Also you may want to install our latest version (the version in your URL
is old):

Latest stable release is here:
http://h2o-release.s3.amazonaws.com/h2o/rel-tibshirani/3/index.html
--
Erin LeDell Ph.D.
Statistician & Machine Learning Scientist | H2O.ai

Reply all
Reply to author
Forward
0 new messages