I was still puzzled by the fact that HI managed to do it without using
complicated lists, so recombed the HI source to see what I missed the
first time.
HI defines a second function f=function(x) passedFun(x,...) and then
passes that to the C code using .Call. I had missed something subtle,
a
On 26/05/2009 5:13 PM, Richard Morey wrote:
Hi everyone,
I am starting learn to call C code from within R. So far, I've been
trying toy problems to see if I can get them to work. One of the things
I'd like to do is pass an arbitrary R function to C, evaluate the value
in the C code using eval