sjob_dt | R Documentation |
Summarize task table from sacct_tasks
.
sjob_dt(time.dt, tasks.width = 11)
time.dt |
time.dt |
tasks.width |
tasks.width |
data.table with one row per unique value of job/State/ExitCode (and keyed on these columns).
Toby Hocking <toby.hocking@r-project.org> [aut, cre]
library(slurm)
sacct.csv.gz <- system.file(
"data", "sacct-job13936577.csv.gz", package="slurm", mustWork=TRUE)
if(requireNamespace("R.utils")){
task.dt <- sacct_fread(sacct.csv.gz)
print(summary.dt <- sjob_dt(task.dt))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.