Hi,

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)
image(x)

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_CheckUserInterrupt();

Best

Henrik

______________________________________________
R-devel@r-project.org mailing list
https://stat.ethz.ch/mailman/listinfo/r-devel

Reply via email to