Thanks, Simon, for your reply. This is reproducible with 2.11.1, both 32 and 64 bit. With the following .Last, command-Q hangs, there's no exit except an external kill, and .RData will not be saved.
Not a big problem if you're aware of the behavior; otherwise, one might lose a few hours of work. I don't expect a fix; this note is meant to prevent others making the same mistake I made one day. On the sunny side, if .Last writes something to a file, it completes with no problem. -Roger > .Last function() { answer = readline("How do you feel now?") return(answer) } > version _ platform x86_64-apple-darwin9.8.0 arch x86_64 os darwin9.8.0 system x86_64, darwin9.8.0 status major 2 minor 11.1 year 2010 month 05 day 31 svn rev 52157 language R version.string R version 2.11.1 (2010-05-31) On Jun 1, 2010, at 12:45 PM, Simon Urbanek wrote: > > On May 31, 2010, at 11:22 PM, Day, Roger S wrote: > >> Dear Colleagues, >> >> The recent change to R.app disabling q() and requiring command-Q or the >> equivalent >> is well motivated. However, it introduces a new problem for a user (like >> me) who >> has a .Last() calling for user input, e.g. dialogs on choosing final actions >> to be taken. > > Please use R 2.11.1 as this has been changed for some time and report if the > issue still exists (with a reproducible example). > > Thanks, > Simon > > >> After command-Q, >> the console cannot accept keyboard input, and clicking on any of the buttons >> Don't Save, Save >> does nothing. >> Clicking Cancel works, but once you've clicked Don't Save or Save >> clicking Cancel no longer does anything. >> Then R.app has to be killed the ungracious way. >> >> Thoughts? Thanks. >> ------------------------------ >> version >> _ >> platform i386-apple-darwin9.8.0 >> arch i386 >> os darwin9.8.0 >> system i386, darwin9.8.0 >> status >> major 2 >> minor 11.0 >> year 2010 >> month 04 >> day 22 >> svn rev 51801 >> language R >> version.string R version 2.11.0 (2010-04-22) >> >> R.app GUI 1.33 (5582 Leopard build 32-bit >> >> Roger Day >> University of Pittsburgh Departments of Biomedical Informatics and >> Biostatistics >> University of Pittsburgh Cancer Institute >> University of Pittsburgh Molecular Medicine Institute >> ----------------------------------------------------- >> Room 310, Suite 301 >> Cancer Pavilion (CNPAV) >> 5150 Centre Ave. >> Pittsburgh, PA 15232 >> e-mail: da...@pitt.edu >> cell phone 412-609-3918 >> assistant: >> Lucy Cafeo: (412) 623-2952 >> >> _______________________________________________ >> R-SIG-Mac mailing list >> R-SIG-Mac@stat.math.ethz.ch >> https://stat.ethz.ch/mailman/listinfo/r-sig-mac >> >> > _______________________________________________ R-SIG-Mac mailing list R-SIG-Mac@stat.math.ethz.ch https://stat.ethz.ch/mailman/listinfo/r-sig-mac