I'm trying to download a file that requires more than 60 seconds using download.file() function. The documentation mentions the timeout option e.g.
The timeout for many parts of the transfer can be set by the option timeout which defaults to 60 seconds.
When i try to set it i get an error message
download.file("https://server/FileURL", destfile = "file.xml", timeout = 444)
Example Message
unused argument (timeout = 444)
To retrieve an option
getOption('timeout')
# [1] 60
To set an option
options(timeout=100)
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With