r - Calling compiled code in another package -


consider lm.influence function package stats. i've written modified version of (wlm.influence). when calling it, get:

error in wlm.influence(fitg) : object 'c_influence' not found 

how can access outside stats? tried obvious solutions:

.call("c_influence", mqr, do.coef, e) .call(stats:::c_influence, mqr, do.coef, e) .call(c_influence, mqr, do.coef, e,package="stats") 

to no avail

c_influence unexported object in stats namespace, can retrieved stats:::c_influence. second solution should work, left out last parameter: tol.


Comments