0

I am computing a long Table[], but the computation of the last few elements is taking too long, and I am afraid I will never converge. I would like to access the part of the Table which has been already computed and then abort the evaluation. Is that possible and how? Thanks.

1 Answers1

2

Perhaps you can adapt something like this

partial = Reap[CheckAbort[full=Table[Sow[expr]; expr, {i,1,1000}], Null]][[2,1]]
Bill
  • 12,001
  • 12
  • 13