[R] break function execution

Greg Snow Greg.Snow at imail.org
Tue Sep 28 21:18:51 CEST 2010


Ctrl-C works on some platforms, it would help us to help you if we knew which OS you are using, which version of R you are using, and in some cases whether you are using the GUI or Terminal version of R.

-- 
Gregory (Greg) L. Snow Ph.D.
Statistical Data Center
Intermountain Healthcare
greg.snow at imail.org
801.408.8111


> -----Original Message-----
> From: r-help-bounces at r-project.org [mailto:r-help-bounces at r-
> project.org] On Behalf Of rajeshj at cse.iitm.ac.in
> Sent: Tuesday, September 28, 2010 2:13 AM
> To: r-help
> Subject: [R] break function execution
> 
> 
> Hi,
> 
> I have an R function that executes for a little over a minute. When the
> function starts running, the R interface freezes and doesnt change
> until the function exits cleanly. Is there someway I can force the
> function to exit without messing up the interface?(An equivalent of
> Ctrl-C)
> 
> Additionally, can I run the function in background and get a
> notification when it completes?
> 	[[alternative HTML version deleted]]
> 
> ______________________________________________
> R-help at 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.



More information about the R-help mailing list