For your use case, I would suggest adding print() calls in strategic places in your long-running code, which will appear in the R buffer to let you know how it’s progressing.
I don’t quite understand everything you wrote. But this would be helpful for my test case. Will use.