Displaying 1 result from an estimated 1 matches for "stochvol_sampl".
Did you mean:
stochvol_sampler
2014 Jan 22
1
Linking to native routines in other packages
...R-exts.html#Linking-to-native-routines-in-other-packages
I have included
#include <R_ext/Rdynload.h>
R_init_stochvol(DllInfo *dll) {
R_RegisterCCallable("stochvol", "sampler", (DL_FUNC) sampler);
}
in some file within stochvol's 'src' directory, and
DL_FUNC stochvol_sampler = R_GetCCallable("stochvol", "sampler");
in some file within the 'src' directoy of the package depending on stochvol.
When installing that package, I however get:
Error in dyn.load(file, DLLpath = DLLpath, ...) :
function 'sampler' not provided by package...