monitor | R Documentation |
This function is used to monitor the progress of a script. A script file
passed to the function will be evaluated and any comments with the
comment_syntax
#< (default) will be sent to a remote sever (API_URL
) for
logging. Before the script is evaluated the job will be initialised with the
remote server and a Job ID is generated. That Job ID is used to link each
step with the script. Once the script is finished the Job satus will be set to
complete. If the script errors the error will also be logged with the server.
monitor( infile = NA, name = NA, token = NA, email = NA, API_URL = "https://monitaur-api.herokuapp.com", comment_syntax = "#<" )
infile |
Path to the input file |
name |
Name of job (defaults to infile) |
token |
Token for grouping jobs (defaults to uuid) |
email |
Email to send notifications |
API_URL |
Base url of the remote server |
comment_syntax |
Special comment syntax (defaults to #<) |
The result of the script.
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.