Adding "Progress Bars" in R

You are still repeating the same thing 100 times inside a for loop without any apparent reason (unless I'm missing something) and advancing the progress bar with each iteration, so a progress bar with total=2000 is never going to end.

Whereas not impossible, it is less likely that someone is willing to work with your specific (and lengthy) code, you would greatly improve your chances of getting more specific help if you provide a minimal REPRoducible EXample (reprex) instead.

1 Like