Rstudio hangs while profiling

I have some code that I want to profile on my mac using Catalina OS. It uses a for loop with different numbers of iterations. When I run it with a small number (e.g, 1000) I have no problem but when I set it to run with many more Rstudio hung up. I have tried force quitting. When I restart R I'm brought back to the project window with a profile tab. But after that Rstudio hangs. I suspect there is a large file somewhere that needs to be deleted but I don't know which one.

This topic was automatically closed 21 days after the last reply. New replies are no longer allowed.

If you have a query related to it or one of the replies, start a new topic and refer back with a link.