Foreign Language Interfaces 193
the other hand, the elements of the first column (there are nrow of them)
are found as the first nrow elements of the vector inmat. For higher dimen-
sional arrays, it is always the left-most index that moves fastest, in the sense
that x[1,1,1] is the first element in the array and x[2,1,1] is the second
(provided of course the first dimension is larger than 1).
6.3.5 Allowing interrupts
One of the many things that occurs in R, by default, when calling to foreign
functions is the turning off of all signal handling. For a very detailed discussion
of signal handling under Unix, see Chapter 10 of Stevens and Rago (2005).
Basically, by turning off the signal handling, it is no longer possible for a user
to interrupt the running ...