set_timeout | R Documentation |
The default timeout for downloads is 60 seconds. This is not long enough for
many of the files that are downloaded using this package. We therefore supply
a convenience function to easily change this setting. You can permanently
change this default by setting R_DEFAULT_INTERNET_TIMEOUT
in your
.Renviron
.
set_timeout(seconds = 600L)
seconds |
The number of seconds to set as the timeout (default 600 seconds). |
A list with the old timeout
setting (invisibly).
getOption("timeout") old_setting <- set_timeout() getOption("timeout") options(old_setting)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.