View source: R/platform_utils.R
safe_download | R Documentation |
Safe file download with platform-specific handling
safe_download(
url,
destfile,
mode = "wb",
quiet = FALSE,
timeout = 600,
max_retries = 3
)
url |
URL to download from |
destfile |
Destination file path |
mode |
"wb" for binary, "w" for text |
quiet |
Logical indicating whether to show progress |
timeout |
Timeout in seconds |
max_retries |
Maximum number of retry attempts |
0 if successful, error code otherwise
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.