Every now and then I have to run a function that takes a lot of time and I need to interrupt the processing before it\'s complete. To do so, I click on the red sign of "
This could happen when R is not working within R and is invoking an external library call. The only option is to close the project window. Fortunately, unsaved changes including objects are retained on opening RStudio again.