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.