Dear R, How can I disable using "enter" key to exit the browser() in debug mode? I would love to have this option because it is so annoying to jump out of the debugging mode unexpectedly when I don't want to. I guess some of us have encouraged at least one of these situations,
1, Accidentally pressed the enter key within the browser. 2, Copy and paste a piece of debugging code containing empty lines to the prompt within the debugging mode. 3, If I paste a piece of code to the prompt to debug as follows, it will eventually jump out before I can do anything. ####### copy starting from this line ############## test <- function() { x<- 5 browser() y<-4 } test() ######## end of copy at this line ################ Any suggestions are most welcome! Feng -- Feng Li Department of Statistics Stockholm University 106 91 Stockholm, Sweden http://feng.li/ [[alternative HTML version deleted]] ______________________________________________ R-help@r-project.org mailing list https://stat.ethz.ch/mailman/listinfo/r-help PLEASE do read the posting guide http://www.R-project.org/posting-guide.html and provide commented, minimal, self-contained, reproducible code.