I've looked for this information in all the R help sources I could find and found nothing. Is it possible to use some function key to stop the execution of some R command without ending the R session (Windows, R 1.91)? I've several times started functions that for various reasons are not executing properly and it would be nice to stop them without killing the R session. I've been using taskmgr to end the R session but I then lose all objects created during the session. Brian Brian S. Cade U. S. Geological Survey Fort Collins Science Center 2150 Centre Ave., Bldg. C Fort Collins, CO 80526-8818 email: brian_cade at usgs.gov tel: 970 226-9326
On Wed, 23 Feb 2005, Brian S Cade wrote:> I've looked for this information in all the R help sources I could find and > found nothing. Is it possible to use some function key to stop the > execution of some R command without ending the R session (Windows, R 1.91)?R 1.91 is not expected until 2050, if ever.> I've several times started functions that for various reasons are not > executing properly and it would be nice to stop them without killing the R > session. I've been using taskmgr to end the R session but I then lose all > objects created during the session.It's in the README, and for RGui, on the menus! Esc in RGui, Ctrl-c in Rterm. Not all computations are interruptible (most compiled code is not), but if they are, these will do it. -- Brian D. Ripley, ripley at stats.ox.ac.uk Professor of Applied Statistics, http://www.stats.ox.ac.uk/~ripley/ University of Oxford, Tel: +44 1865 272861 (self) 1 South Parks Road, +44 1865 272866 (PA) Oxford OX1 3TG, UK Fax: +44 1865 272595
In Rgui, use the menu `Help' -> `Console' and look at the third line from the bottom. Cheers, Andy> From: Brian S Cade > > I've looked for this information in all the R help sources I > could find and > found nothing. Is it possible to use some function key to stop the > execution of some R command without ending the R session > (Windows, R 1.91)? > I've several times started functions that for various reasons are not > executing properly and it would be nice to stop them without > killing the R > session. I've been using taskmgr to end the R session but I > then lose all > objects created during the session. > > Brian > > Brian S. Cade > > U. S. Geological Survey > Fort Collins Science Center > 2150 Centre Ave., Bldg. C > Fort Collins, CO 80526-8818 > > email: brian_cade at usgs.gov > tel: 970 226-9326 > > ______________________________________________ > R-help at stat.math.ethz.ch mailing list > https://stat.ethz.ch/mailman/listinfo/r-help > PLEASE do read the posting guide! > http://www.R-project.org/posting-guide.html > >