1

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?

John Taylor
  • 5,701
  • 2
  • 12
  • 33

1 Answers1

4
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}]]
Roman
  • 47,322
  • 2
  • 55
  • 121