Skip to content

.Last( ) taking keyboard input hangs on command-Q

2 messages · Simon Urbanek, Day, Roger S

#
On May 31, 2010, at 11:22 PM, Day, Roger S wrote:

            
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
4 days later
#
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
function() {
	answer = readline("How do you feel now?")
	return(answer)
}
_                            
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: