RP_APIDownloadFileWhenReady | R Documentation |
Downloads a request file when it is ready.
RP_APIDownloadFileWhenReady(APIHandler, token, outputFile, timeout = 60)
APIHandler |
An API handler, created using RP_CreateAPIHandler. |
token |
A string that identifies the request. Check RP_APIRequestDataFile to generate a request. |
outputFile |
Output filename. |
timeout: |
time (in seconds) to wait for download. Default 60. |
TRUE if the download was successful. An Error otherwise.
Maria Gomez
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.