on_hostname | R Documentation |
Evaluates an R Expression on One or More Hosts
on_hostname(hostnames, expr, ..., on_error = c("stop", "asis"), cache = FALSE)
hostnames |
A character vector of hostnames. |
expr |
The R expression to be evaluated on each host. |
on_error |
A character string specifying how to handle errors.
If |
cache |
If |
... |
(optional) Additional arguments passed to |
This function utilizes the future framework and specifically the future.batchtools package to evaluate the expression on a particular host by submitting it via the SGE scheduler.
A named list with names hostnames
.
## Not run:
q <- available(queues())
hostnames <- sort(unique(q$hostname))
si <- on_hostname(hostnames, system_info())
print(si)
## End(Not run)
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.