Skip to content
Prev 41581 / 63424 Next

Windows download.file sometimes pauses / truncates large files

With

C:\Users\User>R --version
R version 2.14.0 RC (2011-10-23 r57410)
Copyright (C) 2011 The R Foundation for Statistical Computing
ISBN 3-900051-07-0
Platform: x86_64-pc-mingw32/x64 (64-bit)

running

download.file('http://www.ebi.ac.uk/microarray-as/ae/files/E-TABM-25/E-TABM-25.raw.1.zip', 
tempfile())

sometimes gets 52% (according to the dialog box) of the way through, and 
then pauses or, when running R CMD check, truncates (see 
http://bioconductor.org/checkResults/devel/bioc-LATEST/ArrayExpress/moscato1-checksrc.html).

I tried options(internet.info=0, timeout=600), without effect; the 
messages from internet.info are the same on successful and failed downloads.

Thank you,

Martin