[Rd] User interrupts while plotting

From: Henrik Bengtsson <hb_at_stat.berkeley.edu>
Date: Tue, 04 Sep 2007 10:40:31 -0700


not often, but still once in a while, I call plot functions (by mistake) with ridiculous large number of data points. In such cases, the only option you've got is to wait for it to finish, or kill R. At least on WinXP, it is not possible to interrupt the plotting. Dummy example:

s <- 100e3;
x <- matrix(rnorm(s*s), nrow=s, ncol=s)

Would it be possible to add checks for user interrupts within the plotting functions, or is this part of code "outside" R, e.g.

  # For every 10,000th iteration/data points, check for user interrupts?   if(ii % 10000 == 0)



R-devel_at_r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel Received on Tue 04 Sep 2007 - 17:44:22 GMT

Archive maintained by Robert King, hosted by the discipline of statistics at the University of Newcastle, Australia.
Archive generated by hypermail 2.2.0, at Wed 05 Sep 2007 - 01:41:33 GMT.

Mailing list information is available at https://stat.ethz.ch/mailman/listinfo/r-devel. Please read the posting guide before posting to the list.