Skip to content
Prev 48592 / 63424 Next

a question about optim.R and optim.c in R

IIRC, args is a pairlist object. If the analogy helps, it's something like the OO pattern of sticking all your function parameters in an argument and passing that instead of passing them all as formals. One advantage of this is sane(er) handling of variadic functions at the C level. 

Michael