tests/array.R

library(Rffi)

cif = CIF(doubleType, list(pointerType, sint32Type))
x = 1:10
ans = callCIF(cif, "arrayCall", x, length(x))
omegahat/Rffi documentation built on Nov. 29, 2023, 12:48 a.m.