R can or cannot response immediately depending on the underlying C sources.
If the underlying source code is written carefully enough, there are more or
less regular checks for events such as this one.
If you are using some contributed package, it may be an issue in this
package's source code.
Best wishes,
Uwe Ligges
Peng Yu wrote:
Occasionally, I start a command (taking long time to finish) that I
did not really want to start. I type 'ctrl+C' to try to quit the
execution. However, R does not quit the execution of the command
immediately. I'm wondering if R could response to ctrl+C immediately.