search for: fncov

Displaying 1 result from an estimated 1 matches for "fncov".

Did you mean: ncov
2006 Feb 16
0
Calling R functions from C and setting function's formal list values
...aults at the values to be passed in. This way might look is: for(i = 0; i < iters; i++){ //proposed new values for cov.fun parameters and set them as the function's //default arg. values //call the function and collect the returned matrix PROTECT(RFnCall = lang1(CovFn)); PROTECT(fnCov = eval(RFnCall, env)); } My question is, does this seem reasonable? And if so, how do I set the value portion of the formal's list tags. Also, is the formal list a LISTSXP. I have read the sections on 'Evaluating R expression from C' in the docs. But the idea of setting the argumen...