Closed yihui closed 1 year ago
Nice and simple fix :+1:
It's probably also worth modifying the similar call in getGEOSuppFiles.R
.
One more place that needs to be modified is parseGEO.R:getAndParseGSEMatrices
:
Error in open.connection(x, "rb") :
Timeout was reached: [ftp.ncbi.nlm.nih.gov] Resolving timed out after 10000 milliseconds
Calls: download_geo ... getAndParseGSEMatrices -> getDirListing -> <Anonymous> -> read_html.default
Execution halted
I can definitely do that, but first we need to get @seandavi's attention.
Hi,
in spite of increasing timeout with options(timeout=3000)
, downloadFile
keeps using 120 seconds. Am I doing something wrong?
I've installed the latest version using install_github('seandavi/GEOquery')
and R version 4.3.1 (2023-06-16).
Make sure to restart R after (re)installing a package.
The default 120 seconds may not be enough, e.g., #138 and https://d.cosx.org/d/423763
After this PR, they can increase the value by, e.g.,
options(timeout = 600)
(10 mins).options('timeout')
defaults to 60 in base R, so this PR won't change your default (max(60, 120) == 120
).