On Thu, 30 Aug 2007, D. R. Evans wrote: > Paul Smith said the following at 08/29/2007 04:32 PM : > >> The instance of R running will be immediately killed and then you can >> start R again. > > But then I would lose all the work. There must be some way to merely > interrupt the current calculation. Mustn't there?
Only if it is long-running in R code, when ctrl-C or equivalent (Esc in Rgui) works. If it is long-running in C or Fortran code, there is not. Assuming a Unix-alike, sending SIGUSR1 will save the current workspace and quit. Even that is a little dangerous as the workspace need not be in a consistent state. People who have been bitten will learn safer programming practices, for example to call save.image() at suitable checkpoint times. -- Brian D. Ripley, [EMAIL PROTECTED] 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 ______________________________________________ R-help@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 and provide commented, minimal, self-contained, reproducible code.