Displaying 1 result from an estimated 1 matches for "specialsok".
Did you mean:
specials
2004 Nov 18
0
Calling Rdqags doesn't produce correct result.
...= as.double(-1),
neval = as.integer(-1),
ier = as.integer(-1),
as.integer(limit),
as.integer(lenw),
last = as.integer(-1),
integer(limit+1),
double(lenw+1),
as.double(ex),
NAOK=T,
specialsok=T
)
val
}
I followed the instructions in Writing R Extensions ->
The R API
-> Integration, and the program was complied and
loaded into R
successfully. However, calling R function test(0,
20)$result
gives me 385.0554, not 400! The returned ier value of
test(0, 20)
is 0!...