Skip to content
Prev 11907 / 15075 Next

Totally frozen Gui and Forced Quit does not resolve.

Bryan,  Following the directions in section 10.11 I removed every .RData and .Rhistory in my entire tree with no satisfaction.

Finally, after removing every .Rapp.history ... R failed again but I was able to exit R ungracefully using option 1. 

 On rebooting, R-gui reopened with all the 3 prior R-scripts also opened but the R-console was not frozen and after closing the R-scripts I q() R and on reopening I had a normal R-gui and no R-scripts opened.

I had known about the .Rhistory and .Rdata files but they were not the problem.  The .Rapp.history was the culprit but trying to be logical and just removing it from the most obvious directories did not work.  I had to remove every single one.  

Perhaps a clue?  I was unable to remove two of the  ?.Rapp.history' files using their file paths in a rm statement.  Looking closely at the path there was a gramatically-poor directory in both failed removes.
One failure had ?/text file/? which had an illegal space in the directory name and the other failure had another illegal character in a path component /1&2/.   After I removed those two  ?.Rapp.history? files I was able to break the loop.

Thanks for the URL with directions that included the solution!

In addition I will redouble my conscious use of good unix path names!  OS X allows navigating through paths that may be easier to read but are traps for unix command syntax.

Joe