R_CheckUserInterrupt: Checks for User Interrupt

View source: R/R_CheckUserInterrupt.R

R_CheckUserInterruptR Documentation

Checks for User Interrupt

Description

Check if the user has requested an interrupt, and if so branch to R's error signaling functions.

Usage

R_CheckUserInterrupt(void)

Arguments

void

(void) Nothing.

Value

Nothing.

C API

#include <R_ext/Utils.h>

void R_CheckUserInterrupt(void)

R API

All evaluation at the top level of R checks for interrupts.

Related functions that affect R_CheckUserInterrupt():

  • base::suspendInterrupts() - suspends interrupts during evaluation

  • base::allowInterrupts() - allows interrupts during evaluation

Source

Declaration: src/include/R_ext/Utils.h

Implementation: src/main/errors.c


HenrikBengtsson/RNativeAPI documentation built on April 10, 2023, 6:22 p.m.