Martin Morgan
2011-Oct-25 18:57 UTC
[Rd] 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
--
Computational Biology
Fred Hutchinson Cancer Research Center
1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109
Location: M1-B861
Telephone: 206 667-2793
Martin Morgan
2011-Oct-25 20:37 UTC
[Rd] Windows download.file sometimes pauses / truncates large files
On 10/25/2011 11:57 AM, Martin Morgan wrote:> 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.I'll rescind this; it is not an R-specific problem.> > Thank you, > > Martin-- Computational Biology Fred Hutchinson Cancer Research Center 1100 Fairview Ave. N. PO Box 19024 Seattle, WA 98109 Location: M1-B861 Telephone: 206 667-2793
Maybe Matching Threads
- Problem with WARNING...headers with CRLF line endings
- bug in codetools/R CMD check?
- R CMD build --resave-data
- Strange issues with new R-based 'R CMD build' and 'R CMD check' scripts on Windows
- warnings issued at installation time not reported by 'R CMD check'