Occasionally, I cannot access the Esc
function in R (base R, not RStudio or other GUIs) to stop a function. R is running madly and a "Not responding" appears at the top of the menu bar (and everything is grayed out). I cannot access save script either.
Is there any way to force-stop without doing a force-quit and losing the script and working memory? If it is really stuck, is there any way to at least save the changes in the script or get a back-up copy?
My operating system is Windows 10, 64x.
UPDATE: I have recently discovered that running R via RStudio have the huge advantage that the script is autosaved and available on reopening RStudio so there is no loss of the changes to the script.