H2O 3.6.0.8 installation under Windows for R 3.2

352 views
Skip to first unread message

epe...@gmail.com

unread,
Feb 16, 2016, 4:41:41 AM2/16/16
to H2O Open Source Scalable Machine Learning - h2ostream
Hi,

When I am trying to install H2O 3.6.0.8 from Cran on my Windows machine (install.packages("h2o")), I get the following error:

trying URL 'http://cran.rstudio.com/bin/windows/contrib/3.2/h2o_3.6.0.8.zip'
Content type 'application/zip' length 46864381 bytes (44.7 MB)
downloaded 44.6 MB

Warning in install.packages :
downloaded length 46723072 != reported length 46864381
Warning in install.packages :
error 1 in extracting from zip file
Warning in install.packages :
cannot open compressed file 'h2o/DESCRIPTION', probable reason 'No such file or directory'
Error in install.packages : cannot open the connection

Is the above problem known?

Thanks,
P

Tom Kraljevic

unread,
Feb 16, 2016, 9:59:36 AM2/16/16
to epe...@gmail.com, H2O Open Source Scalable Machine Learning - h2ostream

try a different mirror.

Sent from my iPhone
> --
> 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.

wadet...@gmail.com

unread,
Apr 28, 2016, 12:19:20 PM4/28/16
to H2O Open Source Scalable Machine Learning - h2ostream
I've been hitting similar issues when trying to install both from CRAN and the h2o-release.s3.amazonaws.com repos (see below). I've never had a problem in the past, but this is first time i've tried in a new org with new security policies.


> install.packages("h2o", type="source", repos=(c("http://h2o-release.s3.amazonaws.com/h2o/rel-turchin/3/R")))
trying URL 'http://h2o-release.s3.amazonaws.com/h2o/rel-turchin/3/R/src/contrib/h2o_3.8.2.3.tar.gz'
Content type 'application/x-tar; charset=binary' length 53845300 bytes (51.4 MB)
downloaded 51.3 MB

Error in untar2(tarfile, files, list, exdir, restore_times) :
incomplete block on file

The downloaded source packages are in
'C:\Users\wcooper003\AppData\Local\Temp\RtmpMPmOnc\downloaded_packages'
Warning messages:
1: In download.file(url, destfile, method, mode = "wb", ...) :
downloaded length 53829632 != reported length 53845300
2: running command '"C:/..../R/R-3.2.3/bin/x64/R" CMD INSTALL -l .... h2o_3.8.2.3.tar.gz' had status 1
3: In install.packages("h2o", type = "source", repos = (c("http://h2o-release.s3.amazonaws.com/h2o/rel-turchin/3/R"))) :
installation of package 'h2o' had non-zero exit status

or CRAN:

> install.packages("h2o")
--- Please select a CRAN mirror for use in this session ---
trying URL 'https://rweb.crmda.ku.edu/cran/bin/windows/contrib/3.2/h2o_3.8.1.3.zip'
Content type 'application/zip' length 53445519 bytes (51.0 MB)
downloaded 51.0 MB

Error in read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :
cannot open the connection
In addition: Warning messages:
1: In download.file(url, destfile, method, mode = "wb", ...) :
downloaded length 53428224 != reported length 53445519
2: In unzip(zipname, exdir = dest) : error 1 in extracting from zip file
3: In read.dcf(file.path(pkgname, "DESCRIPTION"), c("Package", "Type")) :


cannot open compressed file 'h2o/DESCRIPTION', probable reason 'No such file or directory'

Any thoughts or others with similar issues? Can't manually unpack the tar.gz that downloads either, throwing errors.


On Tuesday, February 16, 2016 at 9:59:36 AM UTC-5, Tom Kraljevic wrote:
> try a different mirror.
>
> Sent from my iPhone
>

wadet...@gmail.com

unread,
May 4, 2016, 11:59:43 AM5/4/16
to H2O Open Source Scalable Machine Learning - h2ostream
FYI still not sure why I get the issue referenced (I tried multiple mirrors on multiple days), but was able to use a workaround by:

1) downloaded the jar file from website (http://h2o-release.s3.amazonaws.com/h2o/master/3468/h2o-3.9.1.3468.zip)

2) installed through R directly from the downloaded jar:
install.packages("C:/work/software/h2o-3.9.1.3465/R/h2o_3.9.1.3465.tar.gz", repos = NULL, type="source")

This installed fine and is working.

Tom Kraljevic

unread,
May 4, 2016, 3:08:03 PM5/4/16
to wadet...@gmail.com, H2O Open Source Scalable Machine Learning - h2ostream

if you have an older version of R, the version of h2o you see in cran is probably the one posted when that was the current version of R.

tom

Sent from my iPhone

wadet...@gmail.com

unread,
May 4, 2016, 3:34:56 PM5/4/16
to H2O Open Source Scalable Machine Learning - h2ostream, wadet...@gmail.com
I was trying on R 3.2.3 the other day when i hit the errors, irrespective of whether I tried through CRAN (with different mirrors) or direct from the h2o repo ("http://h2o-release.s3.amazonaws.com/h2o/rel-turchin/3/R). Coincidentally I was in the office, but it appears to work fine today if I try to install on a R-3.2.3 through CRAN from home, so maybe corporate security issues were the culprit. Working now at least, thanks.

On Wednesday, May 4, 2016 at 3:08:03 PM UTC-4, Tom Kraljevic wrote:
> if you have an older version of R, the version of h2o you see in cran is probably the one posted when that was the current version of R.
>
> tom
>
> Sent from my iPhone
>

Reply all
Reply to author
Forward
0 new messages