Commit d2a3f78
committed
Enable progress bars in non-interactive mode for SLURM clusters
Configure pbapply to display text-based progress bars when running
in non-interactive mode (e.g., batch jobs, Rscript). Previously,
progress tracking was disabled in non-interactive sessions, making
it impossible to monitor simulation progress in SLURM log files.
Changes:
- R/analysis.R: Add pboptions configuration to force type="txt"
in non-interactive mode while preserving timer bars in interactive
sessions
- R/runSimulation.R: Update progress parameter documentation to
describe the new behavior
Interactive users see no change. Non-interactive users (SLURM, batch
jobs) now see text progress bars when monitoring logs via tail -f.
Fixes #751 parent 4b23b45 commit d2a3f78
2 files changed
+10
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
10 | 10 | | |
11 | 11 | | |
12 | 12 | | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
13 | 20 | | |
14 | 21 | | |
15 | 22 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
600 | 600 | | |
601 | 601 | | |
602 | 602 | | |
603 | | - | |
| 603 | + | |
| 604 | + | |
| 605 | + | |
604 | 606 | | |
605 | 607 | | |
606 | 608 | | |
| |||
0 commit comments