1
$\begingroup$

Consider a table

N=1000000;
table=Table[{i,f[i]},{i,1,N,1}]

Is it possible to create a progress bar for being able to see how many rows of table are already evaluated?

$\endgroup$
  • 3
    $\begingroup$ Don't use N as a variable. $\endgroup$ – user6014 Jun 4 '19 at 15:29
4
$\begingroup$
n = 1000000;
Monitor[table = Table[{i, f[i]}, {i, 1, n, 1}];, i]

or, more fancy:

Monitor[table = Table[{i, f[i]}, {i, 1, n, 1}];, 
  ProgressIndicator[i, {0, n}]]
$\endgroup$

Not the answer you're looking for? Browse other questions tagged or ask your own question.